Adding changes from actual server.
This commit is contained in:
@@ -2,5 +2,6 @@
|
|||||||
<head><title>Proxy Backend Not Found</title></head>
|
<head><title>Proxy Backend Not Found</title></head>
|
||||||
<body >
|
<body >
|
||||||
<h2>Proxy Backend Not Found</h2>
|
<h2>Proxy Backend Not Found</h2>
|
||||||
|
<p>This is a test.</p>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -164,7 +164,7 @@ server {
|
|||||||
proxy_pass http://192.168.1.249:25565;
|
proxy_pass http://192.168.1.249:25565;
|
||||||
|
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
proxy_set_header Connection "Upgrade"
|
proxy_set_header Connection "Upgrade";
|
||||||
}
|
}
|
||||||
|
|
||||||
access_log /var/log/nginx/minecraft_access.log combined;
|
access_log /var/log/nginx/minecraft_access.log combined;
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For $remote_addr;
|
||||||
proxy_set_header X-Forwarded-Proto $scheme;
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
proxy_buffering off;
|
proxy_buffering off;
|
||||||
proxy_request_buffering off;
|
proxy_request_buffering off;
|
||||||
|
|||||||
Reference in New Issue
Block a user