Mount local path


#1

Hi,

I’m using nginx as primary web server,

first question is:
is it possible to migrate fully from nginx to haproxy ? terminating nginx ?!

the problem is this configuration,

Mounting local directories with alias :
location /static {
alias /home/master/static/;
}

Searched alot and couldnt find any solution :frowning:

please guide me


#2

No, you cannot serve files or other content from Haproxy. Haproxy is not a webserver, but a proxy only.