diff options
author | Carlo Landmeter <clandmeter@alpinelinux.org> | 2018-01-30 23:40:17 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@alpinelinux.org> | 2018-01-30 23:40:17 +0000 |
commit | d0d2c8164b2266ac86642397ba19baed2e6a5f55 (patch) | |
tree | 772b71c461dd0dba2ae02a960212bfaa11dc6d9f /community/patchwork/nginx-patchwork.conf | |
parent | 8b198b0998db2476459d39307b6b2996737a4298 (diff) | |
download | aports-d0d2c8164b2266ac86642397ba19baed2e6a5f55.tar.bz2 aports-d0d2c8164b2266ac86642397ba19baed2e6a5f55.tar.xz |
main/patchwork: move to community
Diffstat (limited to 'community/patchwork/nginx-patchwork.conf')
-rw-r--r-- | community/patchwork/nginx-patchwork.conf | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/community/patchwork/nginx-patchwork.conf b/community/patchwork/nginx-patchwork.conf new file mode 100644 index 0000000000..575bc3e0ba --- /dev/null +++ b/community/patchwork/nginx-patchwork.conf @@ -0,0 +1,33 @@ +server { + listen 80; + server_name domain.tld; + access_log /var/log/nginx/patchwork.log; + error_log /var/log/nginx/patchwork-error.log; + + tcp_nopush on; + tcp_nodelay on; + keepalive_timeout 65; + types_hash_max_size 2048; + + gzip on; + gzip_proxied any; + gzip_types text/plain text/css text/javascript application/x-javascript + text/xml application/xml image/svg+xml + application/vnd.ms-fontobject application/x-font-ttf font/opentype; + + location = favicon.ico { + access_log off; + log_not_found off; + } + + location /static { + alias /usr/share/webapps/patchwork/htdocs; + expires 3h; + } + + location / { + include uwsgi_params; + uwsgi_pass unix:/run/uwsgi/patchwork.sock; + uwsgi_modifier1 30; + } +} |