-
Would YARP Replace NGINX/Apache? If so, in our current setup all connections come to port 80 and then nginx manages them. For example /api/xxx forwards to localhost:1000, /api2/ to localhost:2000 etc. By default domain.com lands into static html. Question: Would we run YARP on port 80 by default? I can't see any tutorials about production deployment ubuntu/linux. Could someone point to a tutorial showing production setup not dev setup? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
Triage: @Alik2015 are you looking for docs on how to migrate NGINX config to YARP? |
Beta Was this translation helpful? Give feedback.
-
In our setup the default for example is served from var/www and other folders it's static react or Vue html. How would this be set using routes? On 18 Aug 2021 08:40, Sam Spencer ***@***.***> wrote:
Yes, you can run YARP on port 80. Using the basic sample, in config change this line to the IP/port combination(s) you want it to listen to.
The config sample shows all the properties that can be set through config, which is similar in concept to most of what you find in NGINX.
—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or unsubscribe.
|
Beta Was this translation helpful? Give feedback.
-
Static files delivery is not mainline scenario yet -- at least not via config. The work is tracked in #187. |
Beta Was this translation helpful? Give feedback.
Static files delivery is not mainline scenario yet -- at least not via config. The work is tracked in #187.