mirror of
https://github.com/oqyude/nixos.git
synced 2026-06-15 06:30:10 +03:00
123
This commit is contained in:
@@ -68,9 +68,10 @@ in
|
|||||||
</html>
|
</html>
|
||||||
'';
|
'';
|
||||||
locations = {
|
locations = {
|
||||||
"/".tryFiles = "$uri =404";
|
# "/".tryFiles = "$uri =404";
|
||||||
"/guest/" = {
|
"/guest/" = {
|
||||||
proxyPass = "http://${server}:80";
|
proxyPass = "http://${server}:80";
|
||||||
|
proxyWebsockets = true;
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
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;
|
||||||
|
|||||||
Reference in New Issue
Block a user