Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
infrastructure
Commits
17f9f874
Commit
17f9f874
authored
May 04, 2021
by
Leonidas Spyropoulos
Committed by
Jelle van der Waa
May 14, 2021
Browse files
aurweb: Don't call PHP for serving static content
Closes:
#318
Signed-off-by:
Leonidas Spyropoulos
<
artafinde@gmail.com
>
parent
e919cac4
Changes
1
Hide whitespace changes
Inline
Side-by-side
roles/aurweb/templates/nginx.d.conf.j2
View file @
17f9f874
...
...
@@ -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;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment