tried wordpress, removed
This commit is contained in:
parent
48024d95ad
commit
1031ad5571
8 changed files with 31 additions and 25 deletions
|
|
@ -59,11 +59,9 @@
|
|||
'';
|
||||
localNetworks = ''
|
||||
allow fc00::/64;
|
||||
allow fc01::/64;
|
||||
allow fc02::/64;
|
||||
allow fc01::/120;
|
||||
allow 10.0.0.0/16;
|
||||
allow 10.1.0.0/16;
|
||||
allow 10.2.0.0/16;
|
||||
allow 10.1.0.0/24;
|
||||
deny all;
|
||||
'';
|
||||
in {
|
||||
|
|
@ -76,7 +74,12 @@
|
|||
locations = {
|
||||
"/app/".extraConfig = phpPool "default";
|
||||
"/git/".proxyPass = "http://127.0.0.1:8039/";
|
||||
"/priv/".extraConfig = ''${localNetworks} ${phpPool "default"}'';
|
||||
"/local/".extraConfig = ''${phpPool "default"} ${localNetworks}'';
|
||||
"/local/net/".extraConfig = ''
|
||||
allow fc01::/64;
|
||||
allow 10.1.0.0/16;
|
||||
deny all;
|
||||
'';
|
||||
"/vw/" = {
|
||||
proxyWebsockets = true;
|
||||
extraConfig = localNetworks;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue