commented out all but reterup.it servers
This commit is contained in:
parent
406a140843
commit
680920b196
|
@ -41,47 +41,47 @@ http {
|
|||
|
||||
|
||||
# Optional server block for HTTP to HTTPS redirection
|
||||
server {
|
||||
listen 80; # Listen on port 80 for HTTP
|
||||
server_name *.sw1.sselab.ddns.net;
|
||||
# server {
|
||||
# listen 80; # Listen on port 80 for HTTP
|
||||
# server_name *.sw1.sselab.ddns.net;
|
||||
|
||||
|
||||
location / {
|
||||
# Redirect all HTTP traffic to HTTPS
|
||||
# TODO requires https
|
||||
# return 301 https://$host$request_uri;
|
||||
# location / {
|
||||
# # Redirect all HTTP traffic to HTTPS
|
||||
# # TODO requires https
|
||||
# # return 301 https://$host$request_uri;
|
||||
|
||||
proxy_pass http://swarm1_cluster;
|
||||
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;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
}
|
||||
}
|
||||
# proxy_pass http://swarm1_cluster;
|
||||
# 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;
|
||||
# proxy_set_header X-Real-IP $remote_addr;
|
||||
# proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
# }
|
||||
# }
|
||||
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
server_name *.sw1.hassallab.it;
|
||||
# server {
|
||||
# listen 80;
|
||||
# server_name *.sw1.hassallab.it;
|
||||
|
||||
location / {
|
||||
# Redirect all HTTP traffic to HTTPS
|
||||
# TODO requires https
|
||||
# return 301 https://$host$request_uri;
|
||||
# location / {
|
||||
# # Redirect all HTTP traffic to HTTPS
|
||||
# # TODO requires https
|
||||
# # return 301 https://$host$request_uri;
|
||||
|
||||
proxy_pass http://swarm1_cluster;
|
||||
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;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
}
|
||||
}
|
||||
# proxy_pass http://swarm1_cluster;
|
||||
# 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;
|
||||
# proxy_set_header X-Real-IP $remote_addr;
|
||||
# proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
# }
|
||||
# }
|
||||
|
||||
|
||||
server {
|
||||
|
|
Loading…
Reference in New Issue