... | @@ -123,6 +123,18 @@ Create the configuration file, like : |
... | @@ -123,6 +123,18 @@ Create the configuration file, like : |
|
```bash
|
|
```bash
|
|
cd /etc/apache2
|
|
cd /etc/apache2
|
|
cat site-enabled/000-stock-manager.conf
|
|
cat site-enabled/000-stock-manager.conf
|
|
|
|
|
|
|
|
<VirtualHost *:80>
|
|
|
|
Alias /static/admin/ /opt/pao-stock-manager/venv/lib/python3.6/site-packages/django/contrib/admin/static/admin/
|
|
|
|
Alias /static/ /opt/pao-stock-manager/stock/static/
|
|
|
|
|
|
|
|
<Directory /opt/pao-stock-manager>
|
|
|
|
Options FollowSymLinks MultiViews
|
|
|
|
AllowOverride None
|
|
|
|
Require all granted
|
|
|
|
</Directory>
|
|
|
|
|
|
|
|
</VirtualHost>
|
|
```
|
|
```
|
|
|
|
|
|
Replace the default configuration file : |
|
Replace the default configuration file : |