https://netmaker.org logo
#netmaker
Title
# netmaker
k

kind-lizard-33284

05/27/2022, 11:49 PM
Copy code
# Dashboard
:50003 {
        # Apply basic security headers
        header {
                # Enable cross origin access to *.domain.com
                Access-Control-Allow-Origin *.c
                # Enable HTTP Strict Transport Security (HSTS)
                Strict-Transport-Security "max-age=31536000;"
                # Enable cross-site filter (XSS) and tell browser to block detected attacks
                X-XSS-Protection "1; mode=block"
                # Disallow the site to be rendered within a frame on a foreign domain (clickjacking protection)
                X-Frame-Options "SAMEORIGIN"
                # Prevent search engines from indexing
                X-Robots-Tag "none"
                # Remove the server name
                -Server
        }

        reverse_proxy http://netmaker-ui
}

# API
:50004 {
        reverse_proxy http://netmaker:8081
}