19 lines
373 B
Nginx Configuration File
19 lines
373 B
Nginx Configuration File
# vim:ft=nginx
|
|
|
|
server {
|
|
server_name git.ckir.net git.caskir.com;
|
|
listen 443 ssl http2;
|
|
listen [::]:443 ssl http2;
|
|
|
|
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;
|
|
}
|
|
}
|