+ io; other changes;
This commit is contained in:
1 parent
754c8bf9a4
commit
dc130ad394
13 files changed
+145
-63
No files matched your search
+14
-1
@@ -5,7 +5,11 @@ server {
|
||||
server_name art.shlisselburg.org;
|
||||
|
||||
location / {
|
||||
proxy_pass http://localhost:18010;
|
||||
proxy_pass http://hudozka;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection $connection_upgrade;
|
||||
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Forwarded-For $remote_addr;
|
||||
}
|
||||
@@ -19,3 +23,12 @@ server {
|
||||
server_name art.shburg.org;
|
||||
return 301 $scheme://art.shlisselburg.org$request_uri;
|
||||
}
|
||||
|
||||
map $http_upgrade $connection_upgrade {
|
||||
default upgrade;
|
||||
'' close;
|
||||
}
|
||||
|
||||
upstream hudozka {
|
||||
server localhost:18010;
|
||||
}
|
||||
Reference in new issue
Block a user