Merge pull request 'Change to wildcard server on karawale.in' (#2) from pranav/nginx:main into main

Reviewed-on: exozyme/nginx#2
This commit is contained in:
Anthony Wang 2022-10-21 17:41:53 +00:00
commit 08fd0d1261
Signed by: exogit
GPG key ID: 1DDC6BC38786C595

View file

@ -1,10 +1,10 @@
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name karawale.in;
server_name karawale.in *.karawale.in;
ssl_certificate /etc/letsencrypt/live/karawale.in/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/karawale.in/privkey.pem;
ssl_certificate /home/pranav/.local/share/cert/karawale.in/fullchain.pem;
ssl_certificate_key /home/pranav/.local/share/cert/karawale.in/key.pem;
location / {
proxy_pass http://unix:/srv/http/pages/pranav;