A
A
arenami2019-12-17 07:06:11
Nginx
arenami, 2019-12-17 07:06:11

How to make a subdirectory as a separate application in nginx?

There are 2 sites -- 2 separate applications. For example, one example.com, the second blozhek.
I know how to set up the nginx config so that the blog is here - blog.exampe.com. That is, the blog will be like a *separate* application. That's what I need
How to set up the nginx config so that the blog is a subdirectory? exampe.com/blog
while remaining a separate application.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry, 2019-12-17
@q2digger

In the first case, location / , and in the second case, location /blog

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question