Commit 17f9f874 authored by Leonidas Spyropoulos's avatar Leonidas Spyropoulos Committed by Jelle van der Waa
Browse files

aurweb: Don't call PHP for serving static content

Closes: #318

Signed-off-by: Leonidas Spyropoulos's avatarLeonidas Spyropoulos <artafinde@gmail.com>
parent e919cac4
......@@ -65,6 +65,12 @@ server {
uwsgi_pass cgit;
}
location ~ \.gz$ {
add_header Content-Type text/plain;
add_header Content-Encoding gzip;
expires 5m;
}
location ~ ^/[^/]+\.php($|/) {
fastcgi_pass aurweb;
fastcgi_index index.php;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment