Skip to content

Instantly share code, notes, and snippets.

View varaskkar's full-sized avatar

Felipe Delgado varaskkar

  • Spain
View GitHub Profile
@varaskkar
varaskkar / default.conf
Last active April 12, 2023 19:42
Docker Compose: Nginx + PHP + SSL
server {
index index.php index.html;
server_name phpfpm.local;
error_log /var/log/nginx/error.log;
access_log /var/log/nginx/access.log;
root /var/www/html;
location ~ \.php$ {
try_files $uri =404;
fastcgi_split_path_info ^(.+\.php)(/.+)$;