File manager - Edit - /home/cashbep/htdocs/cashbep.com/public/.htaccess
Back
<IfModule mod_rewrite.c> <IfModule mod_negotiation.c> Options -MultiViews -Indexes </IfModule> RewriteEngine On # Handle Authorization Header RewriteCond %{HTTP:Authorization} . RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] # Redirect Trailing Slashes If Not A Folder... RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} (.+)/$ RewriteRule ^ %1 [L,R=301] # Send Requests To Front Controller... RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^ index.php [L] </IfModule> server { listen 80; listen [::]:80; listen 443 ssl http2; listen [::]:443 ssl http2; ssl_certificate_key /etc/nginx/ssl-certificates/winstuk.com.key; ssl_certificate /etc/nginx/ssl-certificates/winstuk.com.crt; server_name www.winstuk.com; return 301 https://winstuk.com$request_uri; } server { listen 80; listen [::]:80; listen 443 ssl http2; listen [::]:443 ssl http2; ssl_certificate_key /etc/nginx/ssl-certificates/winstuk.com.key; ssl_certificate /etc/nginx/ssl-certificates/winstuk.com.crt; server_name winstuk.com www1.winstuk.com; root /home/winstuk/htdocs/winstuk.com; access_log /home/winstuk/logs/nginx/access.log main; error_log /home/winstuk/logs/nginx/error.log; if ($scheme != "https") { rewrite ^ https://$host$uri permanent; } location ~ /.well-known { auth_basic off; allow all; } index index.html; location ~* ^.+\.(css|js|jpg|jpeg|gif|png|ico|gz|svg|svgz|ttf|otf|woff|woff2|eot|mp4|ogg|ogv|webm|webp|zip|swf)$ { add_header Access-Control-Allow-Origin "*"; expires max; access_log off; } location / { try_files $uri $uri/ /index.html; } if (-f $request_filename) { break; } }
| ver. 1.4 |
Github
|
.
| PHP 8.5.7 | Generation time: 0.02 |
proxy
|
phpinfo
|
Settings