| Server IP : www.new.bangkokfinder.com / Your IP : 172.69.176.42 Web Server : nginx/1.20.1 System : Linux new 4.15.0-159-generic #167-Ubuntu SMP Tue Sep 21 08:55:05 UTC 2021 x86_64 User : bangkokfinder ( 1000) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /etc/nginx/sites-avaliable/ |
Upload File : |
server {
listen 80;
listen 443 ssl http2;
server_name mobileivhawaii.com www.mobileivhawaii.com;
ssl_certificate /etc/letsencrypt/live/mobileivhawaii.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/mobileivhawaii.com/privkey.pem;
include ssl_a.conf;
set $skip_cache 1;
rewrite ^/iv-therapy/myers-iv(/?)$ https://mobileivhawaii.com/iv-therapy/myers-cocktail/ permanent;
if ($request_method = POST) {
set $skip_cache 1;
}
if ($query_string != "") {
set $skip_cache 1;
}
# Don't cache URIs containing the following segments
if ($request_uri ~* "/wp-admin/|/xmlrpc.php|wp-.*.php|/feed/|index.php
|sitemap(_index)?.xml") {
set $skip_cache 1;
}
# Don't use the cache for logged-in users or recent commenters
if ($http_cookie ~* "comment_author|wordpress_[a-f0-9]+|wp-postpass
|wordpress_no_cache|wordpress_logged_in") {
set $skip_cache 1;
}
root /home/mobileivhawaii/www;
index index.php index.html index.htm;
gzip on; # включаем сжатие gzip
gzip_disable "msie6";
gzip_vary on;
gzip_proxied any;
gzip_min_length 256;
gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript application/javascript image/svg+xml;
# pagespeed on;
# pagespeed EnableFilters combine_css,combine_javascript,rewrite_css,rewrite_javascript,inline_images,recompress_jpeg,recompress_png,resize_images;
# pagespeed JpegRecompressionQuality 85;
# pagespeed ImageRecompressionQuality 85;
# pagespeed ImageInlineMaxBytes 2048;
# pagespeed LowercaseHtmlNames on;
# pagespeed DisableFilters rewrite_images;
error_page 404 /404.html;
error_page 500 502 503 504 /50x.html;
location ~ "\.pagespeed\.([a-z]\.)?[a-z]{2}\.[^.]{10}\.[^.]+" {
add_header "" "";
}
error_log /var/log/nginx/error_new.mobileivhawaii.com.log;
access_log /var/log/nginx/access_new.mobileivhawaii.com.log;
location = /50x.html {
root /usr/share/nginx/html;
}
location / {
try_files $uri $uri/ /index.php?$query_string;
}
include w3tc.conf;
location ~* \.php$ {
fastcgi_pass unix:/var/run/php-7.0_mobileivhawaii.sock;
fastcgi_index index.php;
fastcgi_split_path_info ^(.+\.php)(.*)$;
include /etc/nginx/fastcgi_params;
fastcgi_cache_bypass $skip_cache;
fastcgi_buffers 16 16k;
fastcgi_buffer_size 32k;
fastcgi_no_cache $skip_cache;
fastcgi_cache WORDPRESS;
fastcgi_cache_valid 60m;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
}
location ~ /\.ht {
deny all;
}
#browser caching of static assets
location ~* ^.+\.(ogg|ogv|svg|svgz|eot|otf|woff|mp4|ttf|rss|atom|jpg|jpeg|gif|png|ico|zip|tgz|gz|rar|bz2|doc|xls|exe|ppt|tar|mid|midi|wav|bmp|rtf|woff2|js|css)$ {
access_log off;
log_not_found off;
expires 365d;
}
location = /favicon.ico {
log_not_found off;
access_log off;
}
location = /robots.txt {
allow all;
log_not_found off;
access_log off;
}
location ~ /\. {
deny all;
access_log off;
log_not_found off;
}
location ^~ /.well-known/acme-challenge/ {
default_type "text/plain";
root /home/mobileivhawaii/;
}
location = /.well-known/acme-challenge/ {
return 404;
}
}