aboutsummaryrefslogtreecommitdiffstats
path: root/httpserver/resources/apache-config.conf
diff options
context:
space:
mode:
authorKrzysztof Gajewski <krzysztof.gajewski@nokia.com>2021-02-24 14:46:37 +0100
committerKrzysztof Gajewski <krzysztof.gajewski@nokia.com>2021-03-02 15:56:29 +0100
commitb1961a04c191ebbc726de507d98c85966b7a6a71 (patch)
treec15b1ba29407d79740f02734c387695bb01a7026 /httpserver/resources/apache-config.conf
parent441945e8adf7e3adc524d761e61c179c83e9888d (diff)
Add JWT support in HTTP/HTTPS based locations - pnf-simulator1.0.5
- update containers to version 1.0.5 Issue-ID: DCAEGEN2-2536 Signed-off-by: Krzysztof Gajewski <krzysztof.gajewski@nokia.com> Change-Id: If6b938db03fc8b5e5a5a6435ad0559061fa5b4ad
Diffstat (limited to 'httpserver/resources/apache-config.conf')
-rw-r--r--httpserver/resources/apache-config.conf49
1 files changed, 0 insertions, 49 deletions
diff --git a/httpserver/resources/apache-config.conf b/httpserver/resources/apache-config.conf
deleted file mode 100644
index 910e20f..0000000
--- a/httpserver/resources/apache-config.conf
+++ /dev/null
@@ -1,49 +0,0 @@
-<VirtualHost *:80>
- ServerAdmin httpserver-onap.org
- ServerName httpserver-onap.org
-
- DocumentRoot /usr/local/apache2/htdocs
- <Directory /usr/local/apache2/htdocs>
- Options Indexes FollowSymLinks MultiViews
- AllowOverride AuthConfig
- Require all granted
- </Directory>
-
- ErrorLog ${APACHE_LOG_DIR}/error.log
- CustomLog ${APACHE_LOG_DIR}/access.log combined
-</VirtualHost>
-
-<IfModule mod_ssl.c>
-<VirtualHost *:443>
- ServerAdmin httpserver-onap.org
- ServerName httpserver-onap.org
-
- DocumentRoot /usr/local/apache2/htdocs
- <Directory /usr/local/apache2/htdocs>
- SSLVerifyClient optional
- SSLVerifyDepth 2
- SSLOptions +FakeBasicAuth +StrictRequire
- <RequireAll>
- Require ssl-verify-client
- </RequireAll>
- Options Indexes FollowSymLinks MultiViews
- AuthType Basic
- AuthName "Secure file"
- AuthBasicProvider file
- AuthUserFile "/usr/local/apache2/passwd/.htpasswd"
- Require valid-user
- </Directory>
-
- SSLCACertificateFile /etc/apache2/certs/truststore.pem
- SSLCertificateFile /etc/apache2/certs/keystore.pem
- SSLCertificateKeyFile /etc/apache2/certs/key.pem
- SSLEngine on
- SSLProtocol -all +TLSv1.2
- SSLCipherSuite ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384
- SSLHonorCipherOrder off
- SSLSessionTickets off
-
- ErrorLog ${APACHE_LOG_DIR}/error.log
- CustomLog ${APACHE_LOG_DIR}/access.log combined
-</VirtualHost>
-</IfModule>