Replace gitlab with forgejo setup

This commit is contained in:
Sonny Bakker 2024-12-09 19:29:42 +01:00
parent 41fa6b52ef
commit d2bfe3e018
5 changed files with 12 additions and 12 deletions

View file

@ -2,13 +2,13 @@
server {
listen {{ https_port }} ssl;
server_name {{ gitlab_domain }};
server_name {{ forgejo_domain }};
include snippets/certificates.conf;
include snippets/ssl-params.conf;
access_log /var/log/nginx/gitlab.log;
error_log /var/log/nginx/gitlab.log;
access_log /var/log/nginx/forgejo.log;
error_log /var/log/nginx/forgejo.log;
location / {
gzip off;
@ -24,6 +24,6 @@ server {
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Frame-Options SAMEORIGIN;
proxy_pass http://{{ gitlab_ip }}:{{ gitlab_port }};
proxy_pass http://{{ forgejo_ip }}:{{ forgejo_port }};
}
}