Skip to content

Commit 4bcf26c

Browse files
committed
Update Hestia nginx.conf for filemanager (limit access to dist folder)
1 parent 2d09a47 commit 4bcf26c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/deb/nginx/nginx.conf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,11 @@ http {
129129
internal;
130130
}
131131

132+
location /fm/ {
133+
alias /usr/local/hestia/web/fm/dist/;
134+
index index.php;
135+
}
136+
132137
location ~ \.php$ {
133138
include /usr/local/hestia/nginx/conf/fastcgi_params;
134139
fastcgi_param SCRIPT_FILENAME /usr/local/hestia/web/$fastcgi_script_name;

0 commit comments

Comments
 (0)