32 lines
757 B
Org Mode
32 lines
757 B
Org Mode
server {
|
|
listen 443 ssl;
|
|
ssl on;
|
|
ssl_certificate /var/www/meetup/final_certificate.crt;
|
|
ssl_certificate_key /var/www/meetup/private.key;
|
|
|
|
root /var/www/meetup/public;
|
|
index index.php;
|
|
server_name eudelegationturkmenistan.org;
|
|
|
|
|
|
location / {
|
|
try_files $uri $uri/ /index.php?$query_string;
|
|
}
|
|
|
|
location ~ \.php$ {
|
|
include snippets/fastcgi-php.conf;
|
|
fastcgi_pass unix:/var/run/php/php8.1-fpm.sock;
|
|
|
|
}
|
|
|
|
location ~ /\.ht {
|
|
deny all;
|
|
}
|
|
|
|
}
|
|
server {
|
|
listen 80;
|
|
server_name eudelegationturkmenistan.org;
|
|
return 301 https://$server_name$request_uri;
|
|
}
|