diff options
author | mia <mia@mia.jetzt> | 2024-06-29 04:14:48 -0700 |
---|---|---|
committer | mia <mia@mia.jetzt> | 2024-06-29 04:14:48 -0700 |
commit | 43b8b07f1e67e8c49cb4988192320266063debe6 (patch) | |
tree | b6a309af15aa63c515cda692312155d054fc4e23 /nginx/nginx.conf | |
parent | 7e729cc2ea889173a89d79737a957cd3dff6e52f (diff) | |
download | asylum-43b8b07f1e67e8c49cb4988192320266063debe6.tar.gz asylum-43b8b07f1e67e8c49cb4988192320266063debe6.zip |
add cat.mia.jetzt code
Diffstat (limited to 'nginx/nginx.conf')
-rw-r--r-- | nginx/nginx.conf | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/nginx/nginx.conf b/nginx/nginx.conf index 83b440c..ae6369e 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -42,7 +42,7 @@ http { listen [::]:80 default_server; default_type text/plain; - root /srv/html; + root /srv/web/$host; index index.html; } @@ -112,4 +112,15 @@ http { %AUTH_LOCATIONS% } + + # cat + server { + listen 80; + listen [::]:80; + server_name cat.mia.jetzt; + + location / { + js_content nginx.cat; + } + } } |