"No more test user"
This commit is contained in:
parent
6c72844e64
commit
5ef2c87ff4
28
stock.tetalab.org.conf
Normal file
28
stock.tetalab.org.conf
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
Define IP_ADDR 192.168.122.69
|
||||||
|
Define TCP_PORT 80
|
||||||
|
Define SRV_NAME stock.tetalab.org
|
||||||
|
Define ROOT_DIR /var/www/stock.tetalab.org
|
||||||
|
Define WSGI_ALIAS /var/www/stock.tetalab.org/stock.tetalab.org.wsgi
|
||||||
|
Define DAEMON_PROCESS tetastock
|
||||||
|
Define APACHE_USER apache
|
||||||
|
Define APACHE_GROUP apache
|
||||||
|
Define THREAD_NUMBER 5
|
||||||
|
<VirtualHost ${IP_ADDR}:${TCP_PORT}>
|
||||||
|
ServerName stock.tetalab.org
|
||||||
|
ServerAdmin bofh@tetalab.org
|
||||||
|
DocumentRoot ${ROOT_DIR}
|
||||||
|
RemoteIPHeader X-Forwarded-For
|
||||||
|
RemoteIPInternalProxy 192.168.122.0/24
|
||||||
|
WSGIDaemonProcess ${DAEMON_PROCESS} user=${APACHE_USER} group=${APACHE_GROUP} threads=${THREAD_NUMBER}
|
||||||
|
WSGIScriptAlias / ${WSGI_ALIAS}
|
||||||
|
<Directory ${ROOT_DIR}>
|
||||||
|
WSGIProcessGroup ${DAEMON_PROCESS}
|
||||||
|
WSGIApplicationGroup %{GLOBAL}
|
||||||
|
Order deny,allow
|
||||||
|
Allow from all
|
||||||
|
AllowOverride All
|
||||||
|
Require all granted
|
||||||
|
</Directory>
|
||||||
|
ErrorLog /var/log/httpd/${SRV_NAME}.error.log
|
||||||
|
CustomLog /var/log/httpd/${SRV_NAME}.access.log combined
|
||||||
|
</VirtualHost>
|
@ -20,8 +20,7 @@
|
|||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div id='edit' class='main_block'>
|
<div id='edit' class='main_block'>
|
||||||
<h3>Tetastock version Beta</h3>
|
<h3>Tetastock version</h3>
|
||||||
<p>Login: test<br/>Pass: test</p>
|
|
||||||
<text>Authentification:<text>
|
<text>Authentification:<text>
|
||||||
<div class='input_block'>
|
<div class='input_block'>
|
||||||
<label>Login</label>
|
<label>Login</label>
|
||||||
|
Loading…
Reference in New Issue
Block a user