From 40c16c8f0aa7c0c34d3a335ffd1bf14b5663f11f Mon Sep 17 00:00:00 2001 From: philc Date: Fri, 12 May 2023 06:36:46 +0000 Subject: [PATCH] mis en gitignore --- nationchains/www/nginx_adminapx.conf | 69 ---------------------------- 1 file changed, 69 deletions(-) delete mode 100644 nationchains/www/nginx_adminapx.conf diff --git a/nationchains/www/nginx_adminapx.conf b/nationchains/www/nginx_adminapx.conf deleted file mode 100644 index 042517b..0000000 --- a/nationchains/www/nginx_adminapx.conf +++ /dev/null @@ -1,69 +0,0 @@ -server { - server_name wallants.ndda.fr ; - access_log /home/phil/workspace/apxtrib/nationchains/logs/nginx/adminapx.town.access.log main; - - location ~* /nationchains/(schema|blocks|pagans|towns|nations)/ { - # Warning: never add tribes for keeping it private - root /home/phil/workspace/apxtrib/; - } - - # /plugins/pluginame/components/xxx?plugin=pluginname&pluginkey=key - # acess if exist pluginkey - location /plugins/ { - add_header X-debug "plugins local $arg_plugin/keys/$arg_pluginkey sent"; - root /home/phil/workspace/apxtrib/nationchains//plugins/; - if (-f /home/phil/workspace/apxtrib/nationchains//plugins/$arg_plugin/keys/$arg_pluginkey) { - rewrite /plugins/([^/]+)/components/([^\?]+) /$1/components/$2 break; - } - return 403 "No valid token access for plugin:$arg_plugin with token:$arg_pluginkey please ask your admin"; - } - - location /cdn/ { - rewrite /cdn/(.*$) /$1 break; - root /home/phil/workspace/apxtrib/nationchains/www/cdn/; - } - - location /spacedev/ { - rewrite /spacedev/(.*$) /$1 break; - root /home/phil/workspace/apxtrib/nationchains/spacedev/adminapx/dist/; - } - - location /api/ { - rewrite /api/(.*$) /$1 break; - proxy_pass http://localhost:3020; - proxy_redirect off; - include proxy_params; - } - - location / { - root /home/phil/workspace/apxtrib/nationchains/www/adminapx; - index index.html index_en.html; - } - error_page 404 /404.html; - # redirect server error pages to the static page /50x.html - # - error_page 500 502 503 504 /50x.html; - location = /50x.html { - root /usr/local/nginx/html; - } - - - listen 443 ssl; # managed by Certbot - ssl_certificate /etc/letsencrypt/live/wallants.ndda.fr/fullchain.pem; # managed by Certbot - ssl_certificate_key /etc/letsencrypt/live/wallants.ndda.fr/privkey.pem; # managed by Certbot - include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot - ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot - -} -server { - if ($host = wallants.ndda.fr) { - return 301 https://$host$request_uri; - } # managed by Certbot - - - server_name wallants.ndda.fr ; - listen 80; - return 404; # managed by Certbot - - -} \ No newline at end of file