Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
sso
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
8
Issues
8
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
ai
sso
Commits
baa44f63
Commit
baa44f63
authored
Dec 09, 2016
by
ale
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Upgrade the Vagrant test environment to Jessie
Mostly fixes to the Apache 2.4 configuration for now.
parent
4f859f76
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
9 deletions
+9
-9
vagrant/Vagrantfile
vagrant/Vagrantfile
+5
-0
vagrant/apache_config
vagrant/apache_config
+4
-7
vagrant/setup.sh
vagrant/setup.sh
+0
-2
No files found.
vagrant/Vagrantfile
View file @
baa44f63
# Vagrant configuration for a simple standalone SSO test environment.
#
# The test environment will use ai-sso packages from the autistici.org
# Debian repository, not locally built ones.
#
API_VERSION
=
"2"
Vagrant
.
configure
(
API_VERSION
)
do
|
config
|
...
...
vagrant/apache_config
View file @
baa44f63
...
...
@@ -12,8 +12,7 @@
DocumentRoot /var/www/default
<Directory /var/www/default>
Order allow,deny
Allow from all
Require all granted
</Directory>
</VirtualHost>
...
...
@@ -28,14 +27,13 @@
DocumentRoot /var/www/app
<Directory /var/www/app>
Order allow,deny
Allow from all
Require all granted
</Directory>
<Location />
AuthType SSO
SSOService app.sso.net/
r
equire valid-user
R
equire valid-user
</Location>
</VirtualHost>
...
...
@@ -46,8 +44,7 @@
SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key
<Proxy *>
Order allow,deny
Allow from all
Require all granted
</Proxy>
ProxyPass / http://127.0.0.1:5002/
...
...
vagrant/setup.sh
View file @
baa44f63
...
...
@@ -35,9 +35,7 @@ mkdir -p /var/www/default /var/www/app
echo
'<h1>This is the default website</h1>'
>
/var/www/default/index.html
echo
'<h1>This is the protected app</h1>'
>
/var/www/app/index.html
cat
>
/etc/apache2/ports.conf
<<
EOF
NameVirtualHost *:80
Listen 80
NameVirtualHost *:443
Listen 443
EOF
apache2ctl restart
...
...
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