Nginx on port 443 won't serve page
Question: I am telling nginx to listen on port 443 and it doesn't work even though my config test is passing. What's wrong? server { listen 443; server_name localhost; server_tokens off; # These are...
Just another Yipp.ca Blogs site
Question: I am telling nginx to listen on port 443 and it doesn't work even though my config test is passing. What's wrong? server { listen 443; server_name localhost; server_tokens off; # These are...
Content-Type: application/octet-stream In nginx.conf you will have something like http { ## # Basic Settings ## (...) include /etc/nginx/mime.types; default_type application/octet-stream; (...) } Possible Problem 1 : It is possible that nginx doesnt have...
[error] 1528#1528: *599 readv() failed (104: Connection reset by peer) while reading upstream, client: 10.65.11.207, server: localhost, request: "POST /apis/v2/system/upgrade/upload HTTP/1.1", upstream: "http://127.0.0.1:8085/apis/v2/system/upgrade/upload", host: "10.65.11.219", referrer: "https://10.65.11.219/admin/update" Understanding: This message "(XXX: Connection reset by...
Solution : server { listen 80; listen 443 ssl; server_name localhost; location / { (...) if ($server_port = 80) { rewrite ^/(login.*)$ https://$host/$1; } } (...) }
Recent Comments