location ~* \.(?:ico|css|js|jpe?g|png|gif|svg|pdf|mov|mp4|mp3|woff)$ { try_files $uri $uri/ @modx-rewrite; expires 7d; add_header Pragma public; add_header Cache-Control "public"; gzip_vary on; } if ($scheme != "https") { return 301 https://www.webslite.com$request_uri; } if ($host != "www.groepenkastmontagenoord.nl") { rewrite ^ https://www.webslite.com$request_uri permanent; } location / { try_files $uri $uri/ @modx-rewrite; } location = /robots.txt { try_files $uri $uri/ @modx-rewrite; }
Правила сервера для MODX Cloud
23 мая 2019, 16:34
0 комментариев