generated from nhcarrigan/template
15 lines
391 B
Plaintext
15 lines
391 B
Plaintext
# Self-hosted Gitea instance.
|
|
server {
|
|
listen 443 ssl;
|
|
server_name git.nhcarrigan.com;
|
|
ssl_certificate /etc/letsencrypt/live/git.nhcarrigan.com/fullchain.pem;
|
|
ssl_certificate_key /etc/letsencrypt/live/git.nhcarrigan.com/privkey.pem;
|
|
|
|
location / {
|
|
client_max_body_size 5000M;
|
|
proxy_set_header Host $host;
|
|
proxy_pass http://127.0.0.1:53000;
|
|
proxy_redirect off;
|
|
}
|
|
}
|