Example of NGINX Configuration

Important: Updated Content Available: As part of our ongoing initiative to consolidate our documentation with up-to-date use cases, this page is being transitioned. The latest content is available in Configure Where is My Technician. We recommend that you update your bookmarks accordingly.

Use the sample code provided here to configure your web server to route all requests to the index page.

server {
    listen       80;
    server_name  wmt.example.com;
 
    location / {
        root   /usr/share/nginx/html;
        try_files $uri /index.html;
    }
}