linux/conf/nginx/sites-available/gogs
Adrian c58105e816 Update Nginx config
* Make only Let's Encrypt path available on port 80
* Protect WordPress admin URLs
* Seperate logs for hosts
* Update example PHP config
* Update README
2016-03-17 01:52:10 +01:00

13 lines
224 B
Text

server {
server_name git.example.com;
listen 443 ssl;
access_log /data/log/nginx/git-access.log;
error_log /data/log/nginx/git-error.log;
location / {
proxy_pass http://localhost:3000;
include proxy_params;
}
}