Commit 68d59b7a authored by Marwolf's avatar Marwolf 💬

Adds future compatibility with Websites running Laravel

parent 15f52271
Pipeline #282 canceled with stages
in 0 seconds
......@@ -14,6 +14,8 @@ services:
expose:
- 80
- 443
# ports:
# - '80:80'
volumes:
- "./etc/nginx:/etc/nginx/conf.d"
- "./Website:/var/www/html"
......
......@@ -37,7 +37,8 @@ server {
error_log /var/log/nginx/error.log;
access_log /var/log/nginx/access.log;
root /var/www/html/;
root /var/www/html;
# root /var/www/html/openrsc_web/public;
index index.php index.html index.htm;
......@@ -50,6 +51,7 @@ server {
# PHP proxy
location ~ \.php$ {
root /var/www/html;
# root /var/www/html/openrsc_web/public;
fastcgi_cache_valid 200 204 1m;
fastcgi_no_cache $http_authorization $cookie_laravel_session;
fastcgi_cache_lock on;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment