Answer the question
In order to leave comments, you need to log in
How to set up aliases in IIS?
I am migrating a site from nginx to IIS. It is required to set up aliases, I found virtual folder settings that allow you to actually set up an alias for level 1. Here is an nginx rule that is implemented through a virtual directory:
location /templates/ {
alias /repository/templates/site/;
}
But for 2 or more levels it is no longer possible to make a rule through a virtual directory, because you can't use a slash in the path. Analogue in nginx:
location /admin/templates/ {
alias /repository/templates/adminka/;
}
Tell me if there are aliases in IIS and how to work with them in order to set up example 2.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question