← back to Kamatera Nginx

sites-available/hospitalitysalesrepresentatives.com

19 lines

# 301 redirect: hospitalitysalesrepresentatives.com -> hospitalitydesignreps.com
# Build-only phase (DNS not yet flipped); :80 only, no TLS until later wave.
server {
    listen 80;
    listen [::]:80;
    server_name hospitalitysalesrepresentatives.com www.hospitalitysalesrepresentatives.com;

    location ^~ /.well-known/acme-challenge/ {
        root /var/www/html;
        default_type "text/plain";
        try_files $uri =404;
    }

    location / {
        add_header Cache-Control "no-store, must-revalidate" always;
        return 301 https://hospitalitydesignreps.com$request_uri;
    }
}