try this in your configuration: server { listen 80; root <path>; server_name www.mydomain.com; location / { return 301 $scheme://www.mydomain2.com/try.html; } } This will redirect all requests in www.mydomain.com/ to the address www.domain2.com/try.html Do you want something like thisby Claick - How to...
I needed a solution to set expires in external files, because in some sites check the loading time of the web page where brought urls as external source, without css expires and thus lowering the score. Checking the internet I found something, some forms having to compile nginx with modules not so well known, preferred to try it another way. Then I had the following idea of creating a vhoby Claick - How to...
![]() |
![]() |
![]() |
![]() |
|