Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server {
- server_name admitriy.club www.admitriy.club;
- charset off;
- index index.php index.html;
- disable_symlinks if_not_owner from=$root_path;
- include /etc/nginx/vhosts-includes/*.conf;
- include /etc/nginx/vhosts-resources/admitriy.club/*.conf;
- ssi on;
- return 301 https://$host:443$request_uri;
- set $root_path /var/www/altercpa/data/www/admitriy.club;
- root $root_path;
- location / {
- location ~ [^/]\.ph(p\d*|tml)$ {
- try_files /does_not_exists @php;
- }
- }
- location @php {
- fastcgi_index index.php;
- fastcgi_param PHP_ADMIN_VALUE "sendmail_path = /usr/sbin/sendmail -t -i -f webmaster@admitriy.club";
- fastcgi_pass unix:/var/www/php-fpm/altercpa.sock;
- fastcgi_split_path_info ^((?U).+\.ph(?:p\d*|tml))(/?.+)$;
- try_files $uri =404;
- include fastcgi_params;
- }
- access_log off;
- error_log /dev/null crit;
- listen 62.212.86.184:80;
- }
- server {
- server_name admitriy.club www.admitriy.club;
- ssl_certificate "/var/www/httpd-cert/altercpa/admitriy.club_le2.crt";
- ssl_certificate_key "/var/www/httpd-cert/altercpa/admitriy.club_le2.key";
- ssl_ciphers EECDH:+AES256:-3DES:RSA+AES:!NULL:!RC4;
- ssl_prefer_server_ciphers on;
- ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
- ssl_dhparam /etc/ssl/certs/dhparam4096.pem;
- charset off;
- index index.php index.html;
- disable_symlinks if_not_owner from=$root_path;
- include /etc/nginx/vhosts-includes/*.conf;
- include /etc/nginx/vhosts-resources/admitriy.club/*.conf;
- ssi on;
- set $root_path /var/www/altercpa/data/www/admitriy.club;
- root $root_path;
- location / {
- location ~ [^/]\.ph(p\d*|tml)$ {
- try_files /does_not_exists @php;
- }
- }
- location @php {
- fastcgi_index index.php;
- fastcgi_param PHP_ADMIN_VALUE "sendmail_path = /usr/sbin/sendmail -t -i -f webmaster@admitriy.club";
- fastcgi_pass unix:/var/www/php-fpm/altercpa.sock;
- fastcgi_split_path_info ^((?U).+\.ph(?:p\d*|tml))(/?.+)$;
- try_files $uri =404;
- include fastcgi_params;
- }
- access_log off;
- error_log /dev/null crit;
- listen 62.212.86.184:443 ssl;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement