summaryrefslogtreecommitdiffstats
path: root/modules/tozt/files/nginx/gitea.conf
blob: 2a59f34fc346044694ea6a19d0061f2efb278065 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
server {
    listen       80;
    server_name  gitea.tozt.net;

    access_log   /var/log/nginx/gitea.access.log;
    error_log    /var/log/nginx/gitea.error.log;

    rewrite      ^(.*) https://$host$1 permanent;
}
# vim:ft=nginx