The management console in port http 9990 doesn't correlate to the undertow https-listener. If you configured the https-listener with ssl, the administration console is untouched and you should continue to use it with wildfly ip/hostname, not the nginx hostname as reverse proxy.
when I use : netstat -tlnp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:9993 0.0.0.0:* LISTEN 26630/java
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 1382/mysqld
tcp 0 0 127.0.0.1:8080 0.0.0.0:* LISTEN 26630/java
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 24648/nginx -g daem
tcp 0 0 127.0.0.1:8443 0.0.0.0:* LISTEN 26630/java
tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 24648/nginx -g daem
From the moment when I forced wildfly to use https through 443 every time that I try to connect to the admin console, i got an error message.
the 9990 port are close from outside the server.
Are you sure the server is even starting? I suspect you are running as a user not allowed to bind to port 443 and causing the server start up to fail.
Absolutely yes! the server works fine! and I can access to the webapp
I forgot to mention that I closed ports 8080 and 8443.
I followed the tutorial in this link
wildfly/Interfaces_and_ports.adoc at 0f873236ffe8a0ea9dc78acbf3b18d4a59fbb98a · wildfly/wildfly · GitHub
using this piece of xml
but I didn't touch any thing relate to the admin console.
So what does your http-interface resource under management-interfaces presently look like? At the moment you do see to have something listening on 9993 but at the same time I assume you are not enabling SSL for the management interfaces?
I think that I found my mistake!
In the standalone file, the management console was listing to the 127.0.0.1, so the localhost instead of to 0.0.0.0 that way I was unable to access to it.
I happened when I used a backup standalone file where I didn't pay attention to the fact that it didn't allow outside access to the console.
I don't know how should proceed with this dump question, should I delete this post ?
I'm so embarrassed that I didn't pay attention to this simple config issue that I've already made during my previous tests.
Thanks every one!