diff --git a/config/nginx.d/nginx.conf b/config/nginx.d/nginx.conf index 486ba39..125c6cd 100755 --- a/config/nginx.d/nginx.conf +++ b/config/nginx.d/nginx.conf @@ -1,5 +1,7 @@ server { listen 81 default_server; + port_in_redirect off; + absolute_redirect off; root /app; index index.php index.html index.htm; location ~ \.php$ { @@ -9,17 +11,7 @@ server { } location /admin { auth_basic "Administrator’s Area"; - auth_basic_user_file conf/htpasswd; + auth_basic_user_file conf.d/htpasswd.pwd; } } -#server { -# listen 82 default_server; -# root /app/master/www; -# index index.php index.html index.htm; -# location ~ \.php$ { -# fastcgi_pass php:9000; -# fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; -# include fastcgi_params; -# } -#} diff --git a/www/admin/index.php b/www/admin/index.php new file mode 100644 index 0000000..977f45d --- /dev/null +++ b/www/admin/index.php @@ -0,0 +1,48 @@ + + + + + +Kolem Kalů - ADMIN//24 + + + + + + + + + + +
+
+
+

Kalské Borec //ADMIN

+
+
+ +
+ +
+ Content +
+
+
+ +