my conf file
sserver {
listen 433 ssl;
listen [::]:443 ssl;
ssl_certificate /etc/ssl/cloudflare.pem;
ssl_certificate_key /etc/ssl/cloudflare.key;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:>
ssl_prefer_server_ciphers on;
ssl_session_cache shared:SSL:10m;
a 1mb cache can hold about 4000 sessions, so we can hold 40000 sessions
ssl_session_timeout 24h;
# Use a higher keepalive timeout to reduce the need for repeated handshakes
keepalive_timeout 300; # up from 75 secs default
add_header Strict-Transport-Security 'max-age=31536000; includeSubDomains';
root /var/www/organixdolap/public;
index index.php index.html index.htm index.nginx-debian.html;
server_name 3.16.147.195;
location / { try_files $uri $uri/ /index.php?$args; }
location ~ \.php$ { include snippets/fastcgi-php.conf;
With php-fpm (or other unix sockets);
fastcgi_pass unix:/var/run/php/php7.3-fpm.sock;
With php-fpm (or other unix sockets);
}
}
server {
listen 80 default_server;
listen [::]:80 default_server;
server_name _;
return 301 https://organixdolap.com;
}
mysite address organixdolap.com