diff options
| author | Charles <sircharlesaze@gmail.com> | 2020-01-09 18:38:59 +0100 |
|---|---|---|
| committer | Charles <sircharlesaze@gmail.com> | 2020-01-10 09:58:35 +0100 |
| commit | 5afd237bbd22028b85532b8c0b3fcead49a00764 (patch) | |
| tree | ce7aff000da4a1d4929e723b2e06f28eb4f3cb59 /srcs/nginx_conf/test.com | |
| parent | 04d6d5ca99ebfd1cebb8ce06618fb3811fc1a8aa (diff) | |
| download | ft_server-5afd237bbd22028b85532b8c0b3fcead49a00764.tar.gz ft_server-5afd237bbd22028b85532b8c0b3fcead49a00764.tar.bz2 ft_server-5afd237bbd22028b85532b8c0b3fcead49a00764.zip | |
SSL and cleaner Dockerfile with setup scripts
Diffstat (limited to 'srcs/nginx_conf/test.com')
| -rw-r--r-- | srcs/nginx_conf/test.com | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/srcs/nginx_conf/test.com b/srcs/nginx_conf/test.com deleted file mode 100644 index b9d9de2..0000000 --- a/srcs/nginx_conf/test.com +++ /dev/null @@ -1,30 +0,0 @@ -server { - listen 80; - server_name localhost; - index index.php; - root /var/www/wordpress; - - location / { - try_files $uri $uri/ =404; # if uri or uri/ not valid, 404 error - } - - # phpmyadmin path, change root - location /phpmyadmin { - root /var/www; - index index.php; - location ~ ^/phpmyadmin/(.+\.php)$ { - include snippets/fastcgi-php.conf; - fastcgi_pass unix:/var/run/php/php7.3-fpm.sock; - } - location ~ ^/phpmyadmin/(.+\.(jpg|jpeg|gif|css|png|js|ico|html|xml|txt))$ { - root /var/www; - } - } - - # php files - location ~ \.php$ { - include snippets/fastcgi-php.conf; # include php fpm settings - fastcgi_pass unix:/var/run/php/php7.3-fpm.sock; # socket where php fpm is running - } -} - |
