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:
parent
22f363d06a
commit
b3aff08ce3
3 changed files with 52 additions and 69 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue