2023-11-16 02:18:47 +00:00
|
|
|
server {
|
|
|
|
listen 443 ssl;
|
|
|
|
listen [::]:443 ssl;
|
2024-03-04 22:02:38 +00:00
|
|
|
server_name git.max.is-probably.gay;
|
2023-11-28 01:08:30 +00:00
|
|
|
|
2024-03-04 22:14:31 +00:00
|
|
|
ssl_certificate /etc/letsencrypt/live/max.is-probably.gay/fullchain.pem;
|
|
|
|
ssl_certificate_key /etc/letsencrypt/live/max.is-probably.gay/privkey.pem;
|
2023-11-28 01:08:30 +00:00
|
|
|
|
|
|
|
location / {
|
|
|
|
proxy_pass http://localhost:1351;
|
|
|
|
proxy_set_header Host $host;
|
|
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
|
|
proxy_set_header X-Forwarded-Proto $scheme;
|
|
|
|
}
|
|
|
|
}
|