Hi there,
I have problems on setting up my nginx reverse proxy server.
To send all requests from port 80 to 443 I have set these following settings in my nginx.conf-file:
But I got an error
Is there anything wrong? I found that sample multiple times so I guess it should be a usual thing?!
Further on I have problems to renew my certificates with letsencrypt because port 80 is blocked...
thanks for your help!
I have problems on setting up my nginx reverse proxy server.
To send all requests from port 80 to 443 I have set these following settings in my nginx.conf-file:
Code:
server { listen 80 default_server; listen [::]:80 default_server; server_name _; return 301 https://$host$request_uri; include /etc/nginx/snippets/letsencrypt.conf; ...}
But I got an error
on reload.socket() [::]:80 failed (43: Protocol not supported)
Is there anything wrong? I found that sample multiple times so I guess it should be a usual thing?!
Further on I have problems to renew my certificates with letsencrypt because port 80 is blocked...
thanks for your help!