summaryrefslogtreecommitdiff
path: root/nginx.conf
diff options
context:
space:
mode:
authorCharlie Root <root@macon.53hor.net>2021-01-30 18:56:38 -0500
committerCharlie Root <root@macon.53hor.net>2021-01-30 18:56:38 -0500
commit54afca3221a60235e9556a9fb918759846b96f71 (patch)
tree800a327cdf8820a3854db691c407a7e891798a6c /nginx.conf
parentca17d5e4d362497fd7e35eb9198a6700b0d85607 (diff)
downloadtheglassyladies-54afca3221a60235e9556a9fb918759846b96f71.tar.xz
theglassyladies-54afca3221a60235e9556a9fb918759846b96f71.zip
fixed dichroism build, moved nginx to appropriate dir
Diffstat (limited to 'nginx.conf')
-rw-r--r--nginx.conf47
1 files changed, 0 insertions, 47 deletions
diff --git a/nginx.conf b/nginx.conf
deleted file mode 100644
index 555f7e0..0000000
--- a/nginx.conf
+++ /dev/null
@@ -1,47 +0,0 @@
-server {
- server_name theglassyladies.com;
- listen 80;
- rewrite ^/admin$ https://theglassyladies.com redirect;
- rewrite ^/care$ https://theglassyladies.com redirect;
- rewrite ^/faq$ https://theglassyladies.com redirect;
- rewrite ^/privacy$ https://theglassyladies.com redirect;
- rewrite ^/cart$ https://theglassyladies.com redirect;
- rewrite ^/checkout$ https://theglassyladies.com redirect;
- client_max_body_size 10M;
- gzip on;
- gzip_vary on;
- #gzip_min_length 10240;
- gzip_proxied expired no-cache no-store private auth;
- gzip_types text/plain text/css text/xml text/javascript application/x-javascript application/xml;
- gzip_disable "MSIE [1-6]\.";
- sendfile on;
- sendfile_max_chunk 1m;
- keepalive_timeout 65;
-
- location / {
- root /var/www;
- index index.html;
- try_files $uri $uri/ /index.html;
- }
-
- location /login {
- auth_basic "Glassy Ladies only!";
- auth_basic_user_file /var/db/gl/.htpasswd;
- }
-
- location /images/ {
- root /var/db/gl/images;
- autoindex on;
- }
-
- location /api/ {
- proxy_pass http://localhost:9876/;
-
- limit_except GET OPTIONS {
- auth_basic "Glassy Ladies only!";
- auth_basic_user_file /var/db/gl/.htpasswd;
- }
- }
-
-}
-