1
0
Fork 0
mirror of https://github.com/fernwerker/ownDynDNS.git synced 2025-07-13 07:05:43 +02:00

moved nginx into php dockerfile, start not automatic yet

This commit is contained in:
niiwiicamo 2024-07-23 16:07:21 +02:00
parent 75cdfe319a
commit 465c7447f3
5 changed files with 53 additions and 12 deletions

13
default.conf Normal file
View file

@ -0,0 +1,13 @@
server {
listen 0.0.0.0:80;
root /var/www/html;
location / {
return 302 https://github.com/NiiWiiCamo/ownDynDNS;
}
location ~ \.php$ {
include fastcgi_params;
fastcgi_pass localhost:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root/$fastcgi_script_name;
}
}