Heray-Was-Here
Server : nginx/1.14.1
System : Linux hwsrv-1092325.hostwindsdns.com 4.18.0-553.5.1.el8.x86_64 #1 SMP Tue May 21 05:46:01 UTC 2024 x86_64
User : nginx ( 993)
PHP Version : 7.4.33
Disable Function : NONE
Directory :  /etc/nginx/conf.d/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //etc/nginx/conf.d/frontlineconstructionga.com.conf
server {
	server_name frontlineconstructionga.com;

        root /var/www/frontlineconstructionga.com/public_html;
        index index.php index.html index.htm index.nginx-debian.html;

	client_max_body_size 110M;
	client_header_buffer_size 1024k;
	large_client_header_buffers 16 1024k;
        
	location / {
                try_files $uri $uri/ /index.php$is_args$args;
        }

	error_page 404 /404.html;
	error_page 500 502 503 504 /50x.html;
	location = /50x.html {
		root /usr/share/nginx/html;
	}

	location ~ \.php$ {
		try_files $uri =404;
		fastcgi_pass unix:/var/run/php-fpm/www.sock;
		fastcgi_index index.php;
		fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
		include fastcgi_params;
		fastcgi_connect_timeout 300s;
		fastcgi_read_timeout 300s;
		fastcgi_send_timeout 300s;
	}

        location ~ /\.ht {
                deny all;
        }

	location = /favicon.ico { log_not_found off; access_log off; }
	location = /robots.txt { log_not_found off; access_log off; allow all; }
	location ~* \.(css|gif|ico|jpeg|jpg|js|png)$ {
        expires max;
        log_not_found off;
    }


    listen 443 ssl; # managed by Certbot
    ssl_certificate /etc/letsencrypt/live/frontlineconstructionga.com/fullchain.pem; # managed by Certbot
    ssl_certificate_key /etc/letsencrypt/live/frontlineconstructionga.com/privkey.pem; # managed by Certbot
    include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
    ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot

}
server {
    if ($host = frontlineconstructionga.com) {
        return 301 https://$host$request_uri;
    } # managed by Certbot


	server_name frontlineconstructionga.com;
    listen 80;
    return 404; # managed by Certbot


}

Hry