Advertisement
gasaichan

Apache config

Apr 1st, 2020
4,219
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <VirtualHost beautyboxl.ru:80>
  2.  
  3.     #
  4.  
  5.     ProxyRequests Off
  6.     ProxyPreserveHost On
  7.     ProxyVia Full  
  8.  
  9.     <Proxy *>
  10.         Require all granted
  11.     </Proxy>
  12.  
  13.     <Location "/cabinet">
  14.         ProxyPass "http://localhost:8080/cabinet"
  15.     </Location>
  16.  
  17.     # The ServerName directive sets the request scheme, hostname and port that
  18.     # the server uses to identify itself. This is used when creating
  19.     # redirection URLs. In the context of virtual hosts, the ServerName
  20.     # specifies what hostname must appear in the request's Host: header to
  21.     # match this virtual host. For the default virtual host (this file) this
  22.     # value is not decisive as it is used as a last resort host regardless.
  23.     # However, you must set it for any further virtual host explicitly.
  24.     #ServerName www.example.com
  25.  
  26.     ServerAdmin bjadmund@mail.ru
  27.     DocumentRoot /home/gasaichan/Work/Beautybox/beautybox_vue/public
  28.  
  29.     # Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
  30.     # error, crit, alert, emerg.
  31.     # It is also possible to configure the loglevel for particular
  32.     # modules, e.g.
  33.     #LogLevel info ssl:warn
  34.  
  35.     ErrorLog ${APACHE_LOG_DIR}/error.log
  36.     CustomLog ${APACHE_LOG_DIR}/access.log combined
  37.  
  38.     # For most configuration files from conf-available/, which are
  39.     # enabled or disabled at a global level, it is possible to
  40.     # include a line for only one particular virtual host. For example the
  41.     # following line enables the CGI configuration for this host only
  42.     # after it has been globally disabled with "a2disconf".
  43.     #Include conf-available/serve-cgi-bin.conf
  44.  
  45.     <Directory "/home/gasaichan/Work/Beautybox/beautybox_vue/public">
  46.         Options Indexes FollowSymLinks
  47.         AllowOverride All  
  48.         Require all granted
  49.     </Directory>
  50. </VirtualHost>
  51.  
  52. # vim: syntax=apache ts=4 sw=4 sts=4 sr noet
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement