DISCLAIMER: THIS DOESN’T SEEM TO WORK WITH CLOUDFLARE PROXY. IF YOU FIGURE IT OUT POST IT HERE
- Get your server running with IW4M appropriately
- Set up your reverse proxy to proxy a subdomain/domain to your server’s IP (posting an nginx example since I love yall)
- Reload your proxy configs,
nginx -s reload
- Try to connect to the server via
connect yourdomain:port
- Update IW4M json using above instructions, change the IPAddress field to your domain
NGINX proxy example for a subdomain, this specifically is using swag, hence the includes, change serverip
and serverport
:
server {
listen 443 ssl;
listen [::]:443 ssl;
server_name h2m.your.domain;
include /config/nginx/ssl.conf;
client_max_body_size 0;
location / {
include /config/nginx/proxy.conf;
include /config/nginx/resolver.conf;
set $upstream_app <serverip>;
set $upstream_port <serverport>;
set $upstream_proto http;
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
}
}
While you can add your admin page to a domain using something similar to the above with port 1624, I don’t think I’d recommend that in production.
You must log in or register to comment.