[surveys/main] Add location block for assets
- From: Andrea Veri <averi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [surveys/main] Add location block for assets
- Date: Wed, 20 Apr 2022 14:22:32 +0000 (UTC)
commit 875824f8705ba43b6bc60530f5a82c2cad4363cf
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date: Fri May 7 15:01:50 2021 +0200
Add location block for assets
nginx.conf | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/nginx.conf b/nginx.conf
index fac04e5..8ef24a8 100644
--- a/nginx.conf
+++ b/nginx.conf
@@ -71,6 +71,10 @@ http {
try_files $uri /index.php?$args;
}
+ location /assets {
+ alias /var/www/html/assets;
+ }
+
location ~ \.php$ {
include fastcgi_params;
fastcgi_intercept_errors on;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]