Skip to content

Commit

Permalink
Update default.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
crypto-titan authored Dec 16, 2024
1 parent a35122d commit 64c399b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@ server {
# Add index.php to setup Nginx, PHP & PHP-FPM config
index index.php index.html index.htm index.nginx-debian.html;
error_log /var/log/nginx/error.log;
access_log /var/log/nginx/access.log;
root /var/www/html;
log_format custom_log '$remote_addr - $remote_user [$time_local] "$request" '
'"$status" "$http_x_forwarded_proto" "$request_scheme" "$https"';
access_log /var/log/nginx/access.log custom_log;

# Trust Traefik headers for SSL detection
set_real_ip_from 0.0.0.0/0; # Replace with Traefik's IP range if known
Expand Down

0 comments on commit 64c399b

Please sign in to comment.