Protect with basic auth, fix issue #56

This commit is contained in:
joglomedia
2019-11-22 23:51:27 +07:00
parent bffbe9a602
commit f81cb8e03f

View File

@@ -151,15 +151,13 @@ server {
include /etc/nginx/includes/error_pages.conf;
location /lcp {
# First attempt to serve request as file, then
# as directory, then fall back to index.html
try_files $uri $uri/ /index.html;
try_files $uri $uri/ /index.php?$args;
# Uncomment to enable naxsi on this location
#include /etc/nginx/naxsi.rules;
# Uncomment to enable auto index
autoindex off;
#autoindex on;
# Set basic auth.
allow all;