0
votes
0answers
99 views

nginx custom error page does not work when putting 404 response code in php

server { root /var/www/; index index.php; server_name example.com; location / { try_files $uri @rewrite; } location @rewrite { rewrite ^/(.*)$ ...
1
vote
1answer
181 views

How can I set up a 404 error page when people access http://ftp.mydomain.com?

I am a freelance videographer/developer, and part of my job involves transferring large files over FTP to production houses/television stations. While the majority of people in my industry understand ...