diff options
author | cyfraeviolae <cyfraeviolae> | 2024-03-17 03:24:37 -0400 |
---|---|---|
committer | cyfraeviolae <cyfraeviolae> | 2024-03-17 03:24:37 -0400 |
commit | 9a5a187b810b7f259dc1b46f2cdf7790d27098cf (patch) | |
tree | 5bfad20c1378f0d9b58658552e280bd2208e7dcd | |
parent | 3c4eb95ea6bbffb25f31920b1c28306d74109465 (diff) |
qr
-rw-r--r-- | cyfraeviolae.conf | 110 |
1 files changed, 110 insertions, 0 deletions
diff --git a/cyfraeviolae.conf b/cyfraeviolae.conf index ec50c19..e44838c 100644 --- a/cyfraeviolae.conf +++ b/cyfraeviolae.conf @@ -91,3 +91,113 @@ server { add_header Cache-Control "public"; } } + +server { + listen 80 quietreading.org; + # server_name _; + # return 301 https://$host$request_uri; + location ~ /\. { + deny all; + } + + location / { + root /srv/quietreading; + expires 1h; + add_header Cache-Control "public"; + } + + error_page 404 /404.html; + location = /404.html { + root /srv/quietreading; + expires 1h; + add_header Cache-Control "public"; + } +} + +# server { +# listen 443 ssl quietreading.org; + +# ssl_certificate /etc/letsencrypt/live/cyfraeviolae.org/fullchain.pem; +# ssl_certificate_key /etc/letsencrypt/live/cyfraeviolae.org/privkey.pem; +# include /etc/letsencrypt/options-ssl-nginx.conf; +# ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; + +# location ~ /\. { +# deny all; +# } + +# location /sweetgreen-calculator { +# alias /srv/sweetgreen-calculator/; +# } + +# location /forbidden-salamanders { +# proxy_pass http://127.0.0.1:9010/; +# } + +# location /infinite-connections { +# alias /srv/infinite-connections/; +# } + +# location /telechromy { +# alias /srv/telechromy/; +# } + +# location /countervisual { +# alias /srv/countervisual/; +# } + +# location /prosodyle { +# alias /srv/prosodyle/; +# } + +# location /prosodyle/level-select { +# default_type "text/html"; +# alias /srv/prosodyle/level-select.html; +# } + +# location /well-ordered { +# alias /srv/well-ordered/; +# } + +# location /sumcheck { +# proxy_pass http://127.0.0.1:9000; +# } + +# location /antiquitysort { +# proxy_pass http://127.0.0.1:8090; +# } + +# location /spectral-renga { +# proxy_pass http://127.0.0.1:8080; +# } + +# location /angelic-hierarchy { +# alias /srv/angelic-hierarchy/; +# } + +# location /the-first-faithful-topology-of-the-library-of-babel { +# alias /srv/the-first-faithful-topology-of-the-library-of-babel/; +# } + +# location /git { +# alias /srv/git/; +# fastcgi_param SCRIPT_FILENAME /usr/lib/cgit/cgit.cgi; +# fastcgi_pass unix:/var/run/fcgiwrap.socket; +# fastcgi_split_path_info ^(/git/?)(.+)$; +# fastcgi_param PATH_INFO $fastcgi_path_info; +# fastcgi_param QUERY_STRING $args; +# } + +# location / { +# root /srv/cyfraeviolae; +# expires 1h; +# add_header Cache-Control "public"; +# } + +# error_page 404 /404.html; +# location = /404.html { +# root /srv/cyfraeviolae; +# expires 1h; +# add_header Cache-Control "public"; +# } +# } |