Appendix |
These are the default settings for the two server blocks: server { listen 80 deferred; return 301 https://$host$request_uri; } server { listen 443 deferred; ssl on; } Update the values of the listen and return directives with the desired ports: server { listen 9080 deferred; return 301 https://$host:9443$request_uri; } server { listen 9443 deferred; ssl on; }
passenger_pre_start https://example.com:443/;Update the passenger_pre_start with your desired port. For example:
passenger_pre_start https://example.com:9443/;
/opt/aspera/shares/sbin/nginx -s reload