how to confiure the server with a public ip or the same as the wan if it can be serious with a bridge mode or ??? so that all the requests that come in through the wan go to the server

You can do this with simple port forwarding, but for security purposes it is discouraged to leave WAN-facing ports open on a MikroTik.