Потребуется ли изменение настроек со стороны Nginix?
У меня есть вот такой конфигурационный файл
server {
server_name [server-name];
listen *:80;
location /server {
proxy_pass http://127.0.0.1:8080;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
}
}
server {
server_name [server-name];
listen *:443 ssl;
ssl_certificate /etc/nginx/ssl/[server-name].pem;
ssl_certificate_key /etc/nginx/ssl/[server-name].pem;
location /server {
proxy_pass http://127.0.0.1:8080;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
}
}