AniNIX/Wiki#21 -- effecting renames for policy
This commit is contained in:
		@@ -10,6 +10,7 @@ server {
 | 
			
		||||
    location / {
 | 
			
		||||
 | 
			
		||||
      rewrite ^/martialarts(\/)*(\/index.html)*$ /assets/martialarts/index.html;
 | 
			
		||||
      rewrite ^/hire(\/)*(\/index.html)*$ /assets/hire/index.html;
 | 
			
		||||
 | 
			
		||||
      proxy_set_header Host $http_host;
 | 
			
		||||
      proxy_set_header X-Forwarded-Host $host;
 | 
			
		||||
@@ -34,6 +35,15 @@ server {
 | 
			
		||||
        rewrite /martialarts/maqotw.xml /MartialArts/Wiki/raw/branch/main/rss/maqotw.xml;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    location /25u {
 | 
			
		||||
        include conf.d/fastcgi.config;
 | 
			
		||||
        root /usr/share/webapps/aninix/;
 | 
			
		||||
        location ~* 25u {
 | 
			
		||||
            try_files $uri /25u_subnetting.php;
 | 
			
		||||
            expires max;
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    location /whatismyip {
 | 
			
		||||
        include conf.d/fastcgi.config;
 | 
			
		||||
        root /usr/share/webapps/aninix/;
 | 
			
		||||
@@ -52,8 +62,6 @@ server {
 | 
			
		||||
        root /usr/share/webapps/aninix/;
 | 
			
		||||
        try_files $uri /scratch.html;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
server {
 | 
			
		||||
 
 | 
			
		||||
@@ -6,7 +6,7 @@ map $http_upgrade $connection_upgrade {
 | 
			
		||||
server {
 | 
			
		||||
    #listen      443 ssl http2;
 | 
			
		||||
    listen      443 ssl;
 | 
			
		||||
    server_name geth.aninix.net;
 | 
			
		||||
    server_name superintendent.aninix.net;
 | 
			
		||||
 | 
			
		||||
    include conf/sec.conf;
 | 
			
		||||
    # include conf/default.csp.conf;
 | 
			
		||||
@@ -19,7 +19,7 @@ server {
 | 
			
		||||
        proxy_set_header X-Forwarded-Host $host;
 | 
			
		||||
        proxy_set_header X-Forwarded-Server $host;
 | 
			
		||||
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
 | 
			
		||||
        proxy_pass       http://geth.msn0.aninix.net:8123;
 | 
			
		||||
        proxy_pass       http://superintendent.msn0.aninix.net:8123;
 | 
			
		||||
        proxy_redirect http:// https://;
 | 
			
		||||
        proxy_http_version 1.1;
 | 
			
		||||
        proxy_set_header Upgrade $http_upgrade;
 | 
			
		||||
		Reference in New Issue
	
	Block a user