mirror of
https://codeberg.org/SafeTwitch/safetwitch.git
synced 2024-12-22 13:22:58 -05:00
21 lines
403 B
Text
21 lines
403 B
Text
server {
|
|
server_name changethis;
|
|
|
|
listen 443 ssl;
|
|
listen [::]:443 ssl;
|
|
|
|
ssl_certificate /etc/letsencrypt/live/changethis/fullchain.pem;
|
|
ssl_certificate_key /etc/letsencrypt/live/changethis/privkey.pem;
|
|
|
|
|
|
location / {
|
|
proxy_pass http://localhost:8280;
|
|
}
|
|
}
|
|
|
|
server {
|
|
listen 80;
|
|
listen [::]:80;
|
|
server_name changethis;
|
|
return 301 https://changethis$request_uri;
|
|
}
|