mirror of
https://github.com/KingDuckZ/kamokan.git
synced 2024-11-27 00:43:47 +00:00
Update with fixed nginx config
This commit is contained in:
parent
00aa06282d
commit
50fb5ceb81
1 changed files with 6 additions and 6 deletions
|
@ -7,14 +7,14 @@ server {
|
||||||
#access_log logs/host.access.log main;
|
#access_log logs/host.access.log main;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
root /srv/http/tawashi;
|
|
||||||
index index.cgi;
|
index index.cgi;
|
||||||
|
include uwsgi_params;
|
||||||
|
uwsgi_modifier1 9;
|
||||||
|
uwsgi_pass unix:/run/uwsgi/tawashi.sock;
|
||||||
|
}
|
||||||
|
location ~ (\.css$|Pictures/) {
|
||||||
|
root /srv/http/tawashi;
|
||||||
}
|
}
|
||||||
location ~ \.cgi$ {
|
|
||||||
include uwsgi_params;
|
|
||||||
uwsgi_modifier1 9;
|
|
||||||
uwsgi_pass unix:/run/uwsgi/tawashi.sock;
|
|
||||||
}
|
|
||||||
|
|
||||||
#error_page 404 /404.html;
|
#error_page 404 /404.html;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue