mirror of
https://gh.wpcy.net/https://github.com/WeblateOrg/weblate.git
synced 2026-05-29 05:29:54 +08:00
27 lines
509 B
Text
Vendored
27 lines
509 B
Text
Vendored
server {
|
|
listen 80;
|
|
server_name weblate;
|
|
root /path/to/weblate/weblate;
|
|
|
|
location /favicon.ico {
|
|
alias /path/to/weblate/data/static/favicon.ico;
|
|
expires 30d;
|
|
}
|
|
|
|
location /robots.txt {
|
|
alias /path/to/weblate/data/static/robots.txt;
|
|
expires 30d;
|
|
}
|
|
|
|
location /static {
|
|
alias /path/to/weblate/data/static/;
|
|
expires 30d;
|
|
}
|
|
|
|
location / {
|
|
include uwsgi_params;
|
|
# Needed for long running operations in admin interface
|
|
uwsgi_read_timeout 3600;
|
|
uwsgi_pass 127.0.0.1:8080;
|
|
}
|
|
}
|