Adding changes from actual server.

This commit is contained in:
Colin Diem
2022-08-19 21:32:19 +00:00
parent 29606cb7af
commit fe4c1df88f
3 changed files with 3 additions and 2 deletions

View File

@@ -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>

View File

@@ -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;

View File

@@ -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;