Commit 6dff5e8d authored by Jelle van der Waa's avatar Jelle van der Waa 🚧
Browse files

Merge branch 'aurweb-static-content' into 'master'

aurweb: Don't call PHP for serving static content

Closes #318

See merge request !372
parents e919cac4 17f9f874
Pipeline #7353 passed with stage
in 44 seconds
......@@ -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