grrr
This commit is contained in:
parent
dfdc44f2e5
commit
071e1ef20a
|
@ -12,16 +12,17 @@ with lib;
|
||||||
"/" = {
|
"/" = {
|
||||||
proxyPass = "http://localhost:4242";
|
proxyPass = "http://localhost:4242";
|
||||||
proxyWebsockets = true;
|
proxyWebsockets = true;
|
||||||
|
};
|
||||||
|
"tfcconnection.com".return = "301 http://tfcconnection.org$request_uri";
|
||||||
|
"www.tfcconnection.com".return = "301 http://tfcconnection.org$request_uri";
|
||||||
|
"www.tfcconnection.org".return = "301 http://tfcconnection.org$request_uri";
|
||||||
|
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
add_header X-Frame-Options "SAMEORIGIN";
|
add_header X-Frame-Options "SAMEORIGIN";
|
||||||
add_header Access-Control-Allow-Origin *
|
add_header Access-Control-Allow-Origin *
|
||||||
add_header Access-Control-Allow-Origin https://api.tfcconnection.org
|
add_header Access-Control-Allow-Origin https://api.tfcconnection.org
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
"tfcconnection.com".return = "301 http://tfcconnection.org$request_uri";
|
|
||||||
"www.tfcconnection.com".return = "301 http://tfcconnection.org$request_uri";
|
|
||||||
"www.tfcconnection.org".return = "301 http://tfcconnection.org$request_uri";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
# systemd.services = {
|
# systemd.services = {
|
||||||
# website = {
|
# website = {
|
||||||
|
|
Loading…
Reference in a new issue