| Server IP : www.new.bangkokfinder.com / Your IP : 172.69.166.35 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;
server_name sportsmedicinehawaii.com www.sportsmedicinehawaii.com;
return 301 https://$host$request_uri;
}
server {
listen 443 ssl http2;
server_name sportsmedicinehawaii.com www.sportsmedicinehawaii.com;
ssl_certificate /etc/letsencrypt/live/sportsmedicinehawaii.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/sportsmedicinehawaii.com/privkey.pem;
include ssl_a.conf;
root /home/sportsmedicinehawaii/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;
error_page 404 /404.html;
error_page 500 502 503 504 /50x.html;
error_log /var/log/nginx/error_new.sportsmedicinehawaii.com.log;
access_log /var/log/nginx/access_new.sportsmedicinehawaii.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_sportsmedicinehawaii.sock;
fastcgi_index index.php;
fastcgi_split_path_info ^(.+\.php)(.*)$;
include /etc/nginx/fastcgi_params;
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/sportsmedicinehawaii/;
}
location = /.well-known/acme-challenge/ {
return 404;
}
}