42 lines
1.3 KiB
Plaintext
42 lines
1.3 KiB
Plaintext
|
server {
|
||
|
listen 192.168.0.110:8084 ssl;
|
||
|
server_name dnsui-local.one.secure.squirrelcube.xyz;
|
||
|
root /mnt/gluster01/web/dnsui1/public_html;
|
||
|
index init.php;
|
||
|
|
||
|
ssl_certificate /etc/letsencrypt/live/tp.3gy.de/fullchain.pem;
|
||
|
ssl_certificate_key /etc/letsencrypt/live/tp.3gy.de/privkey.pem;
|
||
|
|
||
|
# auth_basic "NS1 Intranet";
|
||
|
# auth_basic_user_file /mnt/gluster01/web/auth/dnsui;
|
||
|
|
||
|
location / {
|
||
|
try_files $uri $uri/ @php;
|
||
|
auth_basic "NS1 Intranet";
|
||
|
auth_basic_user_file /mnt/gluster01/web/auth/dnsui;
|
||
|
}
|
||
|
location @php {
|
||
|
rewrite ^/(.*)$ /init.php/$1 last;
|
||
|
auth_basic "NS1 Intranet";
|
||
|
auth_basic_user_file /mnt/gluster01/web/auth/dnsui;
|
||
|
}
|
||
|
location /init.php {
|
||
|
fastcgi_pass 172.168.100.1:9100;
|
||
|
include fastcgi_params;
|
||
|
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
|
||
|
auth_basic "NS1 Intranet";
|
||
|
auth_basic_user_file /mnt/gluster01/web/auth/dnsui;
|
||
|
}
|
||
|
|
||
|
location /info.php {
|
||
|
fastcgi_pass 172.168.100.1:9100;
|
||
|
include fastcgi_params;
|
||
|
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
|
||
|
auth_basic "NS1 Intranet";
|
||
|
auth_basic_user_file /mnt/gluster01/web/auth/dnsui;
|
||
|
}
|
||
|
|
||
|
|
||
|
error_log /var/log/nginx/dnsui1.log;
|
||
|
}
|