# NGINX: agregar en /etc/nginx/sites-available/default
server {
:
location /<carpeta>/ {
proxy_pass http://<host>:<port>/;
}
:
}
# APACHE2: agregar en /etc/apache2/sites-available/00-default.conf
<VirtualHost *:80>
:
ProxyPass /pacs http://<host>:<port>/
ProxyPassReverse /pacs http://<host>:<port>/
ProxyRequests Off
ProxyPreserveHost On
<proxy>
Order deny,allow
Allow from all
</proxy>
:
</VirtualHost>
Proxy reverse:
let you point web folders to other server/ports.
let you point web folders to other server/ports.
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.