improves nginx conf to deploy on coolify

This commit is contained in:
sabelo 2024-07-29 01:26:11 -03:00
parent 8cad33e3c7
commit 24e7fad820

View File

@ -23,11 +23,12 @@ http {
server {
listen 80;
server_name ggdworkshop.cmat.edu.uy;
server_name localhost;
index index.php index.html index.html;
error_log /var/log/nginx/ggdworkshop/error.log;
access_log /var/log/nginx/ggdworkshop/access.log;
root /usr/share/nginx/sites/ggdworkshop/public;
add_header X-Frame-Options "SAMEORIGIN";
add_header X-Content-Type-Options "nosniff";
charset utf-8;
root /app/public;
location / {
try_files $uri /index.php$is_args$args;
}