forgejo: listen on unix socket

Instead of 0.0.0.0:3000. Skip installation page, and set config values
and create admin user manually.
This commit is contained in:
Timotej Lazar 2024-06-05 15:00:14 +02:00
parent 22f363d06a
commit b3aff08ce3
3 changed files with 52 additions and 69 deletions

View file

@ -7,7 +7,7 @@ server {
ssl_certificate_key /etc/letsencrypt/live/{{ fqdn }}/privkey.pem;
location / {
proxy_pass http://127.0.0.1:3000;
proxy_pass http://unix:/var/lib/forgejo/socket;
proxy_set_header Connection $http_connection;
proxy_set_header Upgrade $http_upgrade;