2019-09-05 17:41:23 +00:00
|
|
|
# vim:ft=nginx
|
|
|
|
|
2018-09-18 19:13:43 +00:00
|
|
|
server {
|
2019-09-05 17:41:23 +00:00
|
|
|
server_name git.ckir.net git.caskir.com;
|
|
|
|
listen 443 ssl http2;
|
|
|
|
listen [::]:443 ssl http2;
|
2018-09-18 19:13:43 +00:00
|
|
|
|
|
|
|
access_log /var/log/nginx/gitea.access;
|
|
|
|
error_log /var/log/nginx/gitea.error;
|
|
|
|
|
|
|
|
ssl_certificate /etc/nginx/certs/fullchain.pem;
|
|
|
|
ssl_certificate_key /etc/nginx/certs/privkey.pem;
|
|
|
|
include ssl_params;
|
|
|
|
|
|
|
|
location / {
|
|
|
|
proxy_pass http://gitea:3000;
|
|
|
|
}
|
|
|
|
}
|