Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
fibre
portal-interface
Commits
87d1c068
Commit
87d1c068
authored
Dec 07, 2018
by
Fernando Redigolo
Browse files
Updates on Apache Configuration instructions and template
parent
bb09589e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
5 deletions
+10
-5
README.md
README.md
+8
-3
examples/portal.conf.apache
examples/portal.conf.apache
+2
-2
No files found.
README.md
View file @
87d1c068
...
...
@@ -59,7 +59,7 @@ sudo -u postgres psql -c "CREATE DATABASE portaldb;"
sudo -u postgres psql portaldb -c "GRANT SELECT ON ALL TABLES IN SCHEMA public TO portaladmin;"
```
## Project
## Project
Instalation
Clone the Portal repo:
...
...
@@ -120,13 +120,18 @@ sudo a2enmod ssl
sudo a2enmod headers
```
Production Web Server Configuration (assuming that a
portal.conf
.apache file exists on examples directory):
Edit Apache configuration file
portal
TLS
.conf
, adjusting the paths.
```
cd /testbed/portal/portal-interface/
mkdir static
sudo cp examples/portal.conf.apache /etc/apache2/sites-available/portalTLS.conf
vi /etc/apache2/sites-available/portalTLS.conf
```
Enable the site and start the server
```
sudo a2dissite 000-default
sudo a2ensite portalTLS
service apache2 restart
```
Historical Information
...
...
examples/portal.conf.apache
View file @
87d1c068
...
...
@@ -25,8 +25,8 @@
# Portal Configuration
Alias
/static /testbed/portal/portal-interface/static
<
Directory
/testbed/portal/portal-interface/static
>
Alias
/static /testbed/portal/portal-interface/
portal/
static
<
Directory
/testbed/portal/portal-interface/
portal/
static
>
Require
all
granted
</
Directory
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment