@pfaffman thank you for the pointers.
I fixed it
Here is solution in case someone needs it.
-
./launcher enter appfrom /var/discourse folder - Go to '/etc/nginx/ folder and create file âwhitelist-ip.confâ
- add below lines in âwhitelist-ip.confâ file
allow 192.168.1.1;
deny all; - open
/etc/nginx/conf.d/discourse.conf - go to line no 37 see below section, it is for port 443
server {
include /etc/nginx/whitelist-ip.conf;
} - add line âinclude /etc/nginx/whitelist-ip.conf;â
- Test NginX configuration by running command ânginx -tâ
- run âservice nginx reloadâ
Try now, it will show not found page. no page related to discourse. from whiteliet ip address it will show normal forum.