Webserver

apache2 – reverse proxy configuration file

Configuration of a reverse proxy from the apache2 webserver to another webserver / website: a2enmod proxy a2enmod proxy_http nano /etc/apache2/sites-available/000-default.conf <VirtualHost *:80>         ProxyPreserveHost On         ProxyPass / http://192.168.2.132:3000/         ErrorLog ${APACHE_LOG_DIR}/error.log         CustomLog ${APACHE_LOG_DIR}/access.log combined </VirtualHost>

apache2 – reverse proxy configuration file Weiterlesen »

Debian Jessie – Webserver nginx php5-fpm

apt-get install nginx php5 php5-fpm php5-mysqlnd nano /etc/nginx/nginx.conf user mattionline; server_tokens off; nano /etc/php5/fpm/pool.d/www.conf user = mattionline group = mattionline ;listen = /var/run/php5-fpm.sock listen = 127.0.0.1:9000 listen.allowed_clients = 127.0.0.1 nano /etc/nginx/php-fpm.conf location ~ \.(php)$ { fastcgi_keep_conn on; fastcgi_pass 127.0.0.1:9000; fastcgi_index

Debian Jessie – Webserver nginx php5-fpm Weiterlesen »

Nach oben scrollen