I
I
Ilya78rus2018-05-22 23:14:27
Nginx
Ilya78rus, 2018-05-22 23:14:27

How to set up nginx for only a few requests?

Hello. There was a task to transfer the site surfing functionality to a separate subdomain without
ssl
Laravel framework to a subdomain and now the question is how to block all routes in nginx, except for the /surfing/(id) request and how can I transfer a session from a domain to a subdomain?
Or maybe I complicate everything and there is an option to make everything easier

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
ky0, 2018-05-22
@ky0

You make a location /surfingwith processing by the framework and /- with some kind of 403 error or redirect.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question