mirror of
https://github.com/joglomedia/LEMPer.git
synced 2026-04-13 08:28:21 +00:00
Protect with basic auth, fix issue #56
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user