0
Fork 0
mirror of https://codeberg.org/SafeTwitch/safetwitch.git synced 2024-12-22 21:33:01 -05:00
safetwitch/configs/frontend-nginx.conf

22 lines
403 B
Text
Raw Normal View History

2023-07-14 16:30:49 -05:00
server {
2023-12-13 09:43:48 -05:00
server_name changethis;
2023-07-14 16:30:49 -05:00
listen 443 ssl;
listen [::]:443 ssl;
2023-12-13 09:43:48 -05:00
2023-07-14 16:30:49 -05:00
ssl_certificate /etc/letsencrypt/live/changethis/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/changethis/privkey.pem;
location / {
2023-12-13 09:43:48 -05:00
proxy_pass http://localhost:8280;
}
2023-07-14 16:30:49 -05:00
}
server {
listen 80;
listen [::]:80;
server_name changethis;
return 301 https://changethis$request_uri;
2023-12-13 09:43:48 -05:00
}