2021-05-22 18:30:52 +00:00
|
|
|
server {
|
2021-06-17 03:28:04 +00:00
|
|
|
listen 443 ssl http2;
|
|
|
|
listen [::]:443 ssl http2;
|
2021-05-22 18:30:52 +00:00
|
|
|
server_name git.exozy.me;
|
|
|
|
|
2021-06-17 03:28:04 +00:00
|
|
|
ssl_certificate /etc/letsencrypt/live/exozy.me/fullchain.pem;
|
|
|
|
ssl_certificate_key /etc/letsencrypt/live/exozy.me/privkey.pem;
|
|
|
|
|
2021-05-22 18:30:52 +00:00
|
|
|
location / {
|
|
|
|
proxy_pass http://unix:/run/gitea/gitea.socket;
|
|
|
|
}
|
|
|
|
}
|