File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -326,7 +326,6 @@ services:
326326
327327# ## Volumes Setup ###########################################
328328
329-
330329volumes :
331330 mysql :
332331 driver : " local"
Original file line number Diff line number Diff line change 1+ server {
2+
3+ listen 443 default_server;
4+ listen [::]:443 default_server ipv6only=on;
5+
6+ ssl on;
7+ ssl_certificate /var/certs/cert1.pem;
8+ ssl_certificate_key /var/certs/privkey1.pem;
9+
10+ server_name laravel;
11+ root /var/www/laravel/public;
12+ index index.php index.html index.htm;
13+
14+ location / {
15+ try_files $uri $uri/ /index.php$is_args$args;
16+ }
17+
18+ location ~ \.php$ {
19+ try_files $uri /index.php =404;
20+ fastcgi_pass php-upstream;
21+ fastcgi_index index.php;
22+ fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
23+ include fastcgi_params;
24+ }
25+
26+ location ~ /\.ht {
27+ deny all;
28+ }
29+
30+ }
You can’t perform that action at this time.
0 commit comments