http://localhost/action
http://localhost/action/pre/xx/xx
All action interfaces are handled by tomcat, but in order to access the two URLs above at the same time, I configured the following two location segments. I always feel that this configuration method is not very elegant. I would like to ask if there is a better way. Appreciate it!
location ~ ^/(action)/?$ {
proxy_pass http://tomcats;
}
location ~ ^/(action)/(.+)$ {
proxy_pass http://tomcats;
}
Hello, may I ask what the original address of
thinkPHP3.2 message board video tutorial
is? I want to research it.
Depend on your needs and requirements directly
That should be enough.