[survey-web/limesurvey3] Add location block for assets
- From: Bartłomiej Piotrowski <bpiotrowski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [survey-web/limesurvey3] Add location block for assets
- Date: Fri, 7 May 2021 13:02:03 +0000 (UTC)
commit beafcdc12d894fbe8614769cf690faedc04bb6ee
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]