Nginx configuration guide (Post-Installation)
This document describes how to configure Nginx after installing the executor-ui and executor-api packages. You must complete these steps to ensure that the frontend and backend services are properly served over HTTP or HTTPS.
1. Remove default Nginx configuration (Recommended)
Most systems ship with a default virtual host that may conflict with your custom Executor configuration.
To avoid unexpected routing issues, remove the default site:
sudo rm -f /etc/nginx/sites-enabled/default
Then reload Nginx:
sudo systemctl reload nginx
2. Edit Executor Nginx configuration
In this step /etc/nginx/sites-available/executor file will be created dirung installetion step. Open this file and edit server_name parameter in order to your domain name.
server {
# Replace with your domain or server IP
server_name executor.example.com;
...
}
3. Using an IP address instead of a domain
If you want the application to run directly on the machine’s IP address, update:
server_name _;
This tells Nginx to respond to all unspecified hosts.
server {
listen 80;
server_name _;
...
}
Reload Nginx:
sudo systemctl reload nginx
4. Verify Nginx status
Check for syntax errors:
sudo nginx -t
Restart the service:
sudo systemctl restart nginx
Ensure it’s active:
sudo systemctl status nginx
This completes the post-installation web server configuration for Executor.