Appendix |
These are the default settings for the two server blocks: server { listen 80; rewrite ^ https://$host$request_uri? permanent; } server { listen 443; root .../www/public; [...] } Update the values of the listen and rewrite directives with the desired ports: server { listen 9080; rewrite ^ https://$host:9443$request_uri? permanent; } server { listen 9443; root .../www/public; [...] }
> cd C:\\Shares\nginx nginx -s reload