Fix missing newlines at end of multiple configuration and HTML files
This commit is contained in:
parent
6c606cf78d
commit
071e52a0d8
@ -25,4 +25,4 @@ server {
|
|||||||
location / {
|
location / {
|
||||||
try_files $uri $uri/ =404;
|
try_files $uri $uri/ =404;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -92,4 +92,4 @@
|
|||||||
<a href="/">Return to Home</a>
|
<a href="/">Return to Home</a>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@ -175,4 +175,4 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@ -95,4 +95,4 @@
|
|||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@ -110,4 +110,4 @@
|
|||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@ -70,15 +70,15 @@ server {
|
|||||||
|
|
||||||
# redirect /watch-party -> /watch-party/
|
# redirect /watch-party -> /watch-party/
|
||||||
location = /watch-party { return 302 /watch-party/; }
|
location = /watch-party { return 302 /watch-party/; }
|
||||||
|
|
||||||
# proxy ONLY /watch-party/*, keeping the prefix
|
# proxy ONLY /watch-party/*, keeping the prefix
|
||||||
location ^~ /watch-party/ {
|
location ^~ /watch-party/ {
|
||||||
proxy_pass http://watchparty_upstream; # ← no trailing slash (preserve /watch-party)
|
proxy_pass http://watchparty_upstream; # ← no trailing slash (preserve /watch-party)
|
||||||
include snippets/proxy-common.conf;
|
include snippets/proxy-common.conf;
|
||||||
|
|
||||||
proxy_set_header X-Forwarded-Host $host;
|
proxy_set_header X-Forwarded-Host $host;
|
||||||
proxy_set_header X-Forwarded-Prefix /watch-party;
|
proxy_set_header X-Forwarded-Prefix /watch-party;
|
||||||
|
|
||||||
# For Vite HMR / websockets
|
# For Vite HMR / websockets
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
proxy_set_header Connection $connection_upgrade;
|
proxy_set_header Connection $connection_upgrade;
|
||||||
|
|||||||
@ -133,4 +133,4 @@ server {
|
|||||||
location / {
|
location / {
|
||||||
return 404;
|
return 404;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -15,4 +15,4 @@ proxy_send_timeout 600;
|
|||||||
send_timeout 600;
|
send_timeout 600;
|
||||||
|
|
||||||
# Don’t cache proxied errors by mistake
|
# Don’t cache proxied errors by mistake
|
||||||
proxy_buffering off;
|
proxy_buffering off;
|
||||||
|
|||||||
@ -32,4 +32,4 @@ server {
|
|||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
proxy_set_header X-Forwarded-Proto $scheme;
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,4 +1,3 @@
|
|||||||
# Block everything by default
|
|
||||||
User-agent: *
|
User-agent: *
|
||||||
Disallow: /
|
Disallow: /
|
||||||
User-agent: GPTBot
|
User-agent: GPTBot
|
||||||
@ -16,4 +15,4 @@ Disallow: /
|
|||||||
User-agent: Google-Extended
|
User-agent: Google-Extended
|
||||||
Disallow: /
|
Disallow: /
|
||||||
User-agent: Applebot-Extended
|
User-agent: Applebot-Extended
|
||||||
Disallow: /
|
Disallow: /
|
||||||
|
|||||||
@ -29,4 +29,3 @@ upstream djellyfin_upstream {
|
|||||||
server 127.0.0.1:8096;
|
server 127.0.0.1:8096;
|
||||||
keepalive 32;
|
keepalive 32;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user