summaryrefslogtreecommitdiff
path: root/config/guzzle.conf
diff options
context:
space:
mode:
authorseth <[email protected]>2023-02-08 02:31:06 -0500
committerseth <[email protected]>2023-02-08 02:31:06 -0500
commit5e4b6ebb8c9e6adaf1ab12802beb82c59c88dcab (patch)
tree4a1ddb00d04dc94612cf01c4ffc2eb6443fa6db4 /config/guzzle.conf
parent7a6d77e94da09fb1a4e32ebd90e794049f0c737d (diff)
switch to caddy + centralize services
Diffstat (limited to 'config/guzzle.conf')
-rw-r--r--config/guzzle.conf55
1 files changed, 0 insertions, 55 deletions
diff --git a/config/guzzle.conf b/config/guzzle.conf
deleted file mode 100644
index 4aa3314..0000000
--- a/config/guzzle.conf
+++ /dev/null
@@ -1,55 +0,0 @@
-server {
- server_name guzzle.gay www.guzzle.gay;
-
-
- root /var/www/guzzle;
- index index.html;
-
- rewrite /chris2 /files/chris.webp permanent;
-
- location / {
- try_files $uri $uri/ =404;
- }
-
- location /lul.html {
- add_header X-Frame-Options DENY;
- }
-
- location /files {
- autoindex on;
- }
-
- location /api {
- rewrite ^/api/(.*) /$1 break;
- proxy_pass http://127.0.0.1:7070$uri$is_args$args;
- }
-
- listen [::]:443 ssl ipv6only=on; # managed by Certbot
- listen 443 ssl; # managed by Certbot
- ssl_certificate /etc/letsencrypt/live/guzzle.gay/fullchain.pem; # managed by Certbot
- ssl_certificate_key /etc/letsencrypt/live/guzzle.gay/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 = www.guzzle.gay) {
- return 301 https://$host$request_uri;
- } # managed by Certbot
-
-
- if ($host = guzzle.gay) {
- return 301 https://$host$request_uri;
- } # managed by Certbot
-
-
- listen 80;
- listen [::]:80;
- server_name guzzle.gay www.guzzle.gay;
- return 404; # managed by Certbot
-
-
-
-
-}