diff options
author | Sylvain Desbureaux <sylvain.desbureaux@orange.com> | 2020-12-09 08:20:25 +0100 |
---|---|---|
committer | Sylvain Desbureaux <sylvain.desbureaux@orange.com> | 2020-12-09 08:22:17 +0100 |
commit | 1ba8bf7a96b1178e82bb5f51d23f4e32837be9ed (patch) | |
tree | 5eb73f6f70e552f0823a57374f670dc7468f7428 /resources/config/lighttpd | |
parent | 85b5af5058bbda19b557add185d917f60c2188ee (diff) |
Remove code on master branch
As code has been moved to main repo, we remove the code here and add a
README explaining
Issue-ID: OOM-2513
Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
Change-Id: I80693e7f5c6c18bece7088eb29e2d17566f3993f
Diffstat (limited to 'resources/config/lighttpd')
-rw-r--r-- | resources/config/lighttpd/authorization | 1 | ||||
-rw-r--r-- | resources/config/lighttpd/lighttpd.conf | 57 | ||||
-rw-r--r-- | resources/config/lighttpd/ssl/README.TXT | 13 | ||||
-rw-r--r-- | resources/config/lighttpd/ssl/onap-robot.onap.crt | 22 | ||||
-rw-r--r-- | resources/config/lighttpd/ssl/onap-robot.onap.csr | 18 | ||||
-rw-r--r-- | resources/config/lighttpd/ssl/onap-robot.onap.key | 28 | ||||
-rw-r--r-- | resources/config/lighttpd/ssl/onap-robot.onap.pem | 50 |
7 files changed, 0 insertions, 189 deletions
diff --git a/resources/config/lighttpd/authorization b/resources/config/lighttpd/authorization deleted file mode 100644 index 9d6ff7f..0000000 --- a/resources/config/lighttpd/authorization +++ /dev/null @@ -1 +0,0 @@ -{{ .Values.config.robotWebUser }}:{{ .Values.config.robotWebPassword }} diff --git a/resources/config/lighttpd/lighttpd.conf b/resources/config/lighttpd/lighttpd.conf deleted file mode 100644 index 6c781a2..0000000 --- a/resources/config/lighttpd/lighttpd.conf +++ /dev/null @@ -1,57 +0,0 @@ -server.document-root = "/var/opt/ONAP/html/" - -server.port = 88 - -server.username = "www-data" -server.groupname = "www-data" -server.errorlog = "/var/log/lighttpd/error.log" -accesslog.filename = "/var/log/lighttpd/access.log" - - -$SERVER["socket"] == ":443" { - ssl.engine = "enable" - ssl.pemfile = "/etc/lighttpd/ssl/onap-robot.onap.pem" - # ssl.ca-file = "/etc/lighttpd/ssl/CA_issuing.crt" - server.name = "robot-onap.onap.org" - #server.document-root = "/var/opt/ONAP/html/" - #server.errorlog = "/var/log/lighttpd/robot_onap.onap.org.error.log" - #accesslog.filename = "/var/log/lighttpd/robot_onap.onap.org.access.log" -} - - - -dir-listing.activate = "disable" - -alias.url = ( "/logs/" => "/share/logs/" ) -$HTTP["url"] =~ "^/logs/" { - dir-listing.activate = "enable" -} - -mimetype.assign = ( - ".log" => "text/plain", - ".txt" => "text/plain", - ".png" => "image/png", - ".html" => "text/html", - ".xml" => "text/xml" -) - -static-file.exclude-extensions = ( ".fcgi", ".php", ".rb", "~", ".inc", ".cgi" ) -index-file.names = ( "index.html" ) - -server.modules += ( "mod_auth" ) -server.modules += ( "mod_alias" ) -server.modules += ( "mod_compress" ) -server.modules += ( "mod_accesslog" ) -auth.debug = 2 -auth.backend = "plain" -auth.backend.plain.userfile = "/etc/lighttpd/authorization" -auth.require = ( "/" => -( -"method" => "basic", -"realm" => "Password protected area", -"require" => "valid-user" -) -) - -compress.cache-dir = "/var/cache/lighttpd/compress/" -compress.filetype = ("application/x-javascript", "text/css", "text/html", "text/plain") diff --git a/resources/config/lighttpd/ssl/README.TXT b/resources/config/lighttpd/ssl/README.TXT deleted file mode 100644 index 4a56cb5..0000000 --- a/resources/config/lighttpd/ssl/README.TXT +++ /dev/null @@ -1,13 +0,0 @@ -The following self-signed certificates were created for testing only. -You can replace them with your own if appropriate using this process or official certificates using what ever process is appropriate. - - -# create key and csr -openssl req -new -newkey rsa:2048 -nodes -keyout onap-robot.onap.key -out onap-robot.onap.csr - -# sign csr -# 10 year self signed certificate -openssl x509 -req -days 3650 -in onap-robot.onap.csr -signkey onap-robot.onap.key -out onap-robot.onap.crt - -# create PEM for lighttpd server -cat onap-robot.onap.key onap-robot.onap.crt > onap-robot.onap.pem diff --git a/resources/config/lighttpd/ssl/onap-robot.onap.crt b/resources/config/lighttpd/ssl/onap-robot.onap.crt deleted file mode 100644 index e5db8b2..0000000 --- a/resources/config/lighttpd/ssl/onap-robot.onap.crt +++ /dev/null @@ -1,22 +0,0 @@ ------BEGIN CERTIFICATE----- -MIIDnzCCAocCFHlPuTueraFMC0IbbHUFBUlD/79aMA0GCSqGSIb3DQEBCwUAMIGL -MQswCQYDVQQGEwJVUzELMAkGA1UECAwCTkoxEzARBgNVBAcMCk1pZGRsZXRvd24x -DTALBgNVBAoMBE9OQVAxDjAMBgNVBAsMBXJvYm90MRwwGgYDVQQDDBNyb2JvdC1v -bmFwLm9uYXAub3JnMR0wGwYJKoZIhvcNAQkBFg5yb2JvdEBvbmFwLm9yZzAeFw0y -MDAzMzAxNDM5MzlaFw0zMDAzMjgxNDM5MzlaMIGLMQswCQYDVQQGEwJVUzELMAkG -A1UECAwCTkoxEzARBgNVBAcMCk1pZGRsZXRvd24xDTALBgNVBAoMBE9OQVAxDjAM -BgNVBAsMBXJvYm90MRwwGgYDVQQDDBNyb2JvdC1vbmFwLm9uYXAub3JnMR0wGwYJ -KoZIhvcNAQkBFg5yb2JvdEBvbmFwLm9yZzCCASIwDQYJKoZIhvcNAQEBBQADggEP -ADCCAQoCggEBALxJ/YnjSMMLyY+DoGXEOi57AuVMNWJ6L43FJoy4MUGlWw1BT/gM -0yXDlEYX7rFcP+/74CtK5VwL/T5WyGYehj4JanxeS+Debyx4iLR3Ge0So1TGVcLg -wSwvU2Yt3GIpWSDsui6fBJLaH9ka4phf0mu55WljoA8814pyd2HCu/4MdPuWGISE -PPeH6DzUDIQ8srUF3i9EkDwBtQtlj4XLSOeGaEo6DQNPABr5Ft8EkJ3jwi9uw92G -ofU+PQeXszWGUcHMN12yEJErqsmlGJEi9Fr9c3tyWk7LLj0NPtdaPKAE2R9AUvFW -1WmJ/Lb8lkHezj23V8+wlCbJJkcV8+E3c90CAwEAATANBgkqhkiG9w0BAQsFAAOC -AQEAIW7KCq4gqjVQQ5aFqSEmbS65pAeyrt58NQxj6UgOYrHe+IJ5EHLiKmRW6XGe -RbtYXSrBhj6E0wF7mWda5sd5r+GZuMjx3BkRKCo59yQnHKYheuuoXIFx1odkmBdl -uq8ccVsL3W+xoBuMdhW3E7Q83xvE+0lINki9rhrmdGItHee3y5KyBYopf0BjZtCS -EV601NnSBDktlMPSt4pFfptr4+lUh/6MDj548cygwk9NexFCwY7+YhjEAPfqH6p3 -BI3QlDYQslBCv8By4JtQqhFs3t6OAjSILfwQfxdS4OT2FK6NZyEBpd1mdbS3CyS7 -qke87AT49x1wbGgsSeldZShErg== ------END CERTIFICATE----- diff --git a/resources/config/lighttpd/ssl/onap-robot.onap.csr b/resources/config/lighttpd/ssl/onap-robot.onap.csr deleted file mode 100644 index 5e4cc9f..0000000 --- a/resources/config/lighttpd/ssl/onap-robot.onap.csr +++ /dev/null @@ -1,18 +0,0 @@ ------BEGIN CERTIFICATE REQUEST----- -MIIC0TCCAbkCAQAwgYsxCzAJBgNVBAYTAlVTMQswCQYDVQQIDAJOSjETMBEGA1UE -BwwKTWlkZGxldG93bjENMAsGA1UECgwET05BUDEOMAwGA1UECwwFcm9ib3QxHDAa -BgNVBAMME3JvYm90LW9uYXAub25hcC5vcmcxHTAbBgkqhkiG9w0BCQEWDnJvYm90 -QG9uYXAub3JnMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvEn9ieNI -wwvJj4OgZcQ6LnsC5Uw1YnovjcUmjLgxQaVbDUFP+AzTJcOURhfusVw/7/vgK0rl -XAv9PlbIZh6GPglqfF5L4N5vLHiItHcZ7RKjVMZVwuDBLC9TZi3cYilZIOy6Lp8E -ktof2RrimF/Sa7nlaWOgDzzXinJ3YcK7/gx0+5YYhIQ894foPNQMhDyytQXeL0SQ -PAG1C2WPhctI54ZoSjoNA08AGvkW3wSQnePCL27D3Yah9T49B5ezNYZRwcw3XbIQ -kSuqyaUYkSL0Wv1ze3JaTssuPQ0+11o8oATZH0BS8VbVaYn8tvyWQd7OPbdXz7CU -JskmRxXz4Tdz3QIDAQABoAAwDQYJKoZIhvcNAQELBQADggEBAJYVG3C4fgHb7Vip -aqsyRI6kQNjxFwwjnHY0AEwuzr1K+D2dGXXDtTP9RPZQIp3PZyvKrZNqs4O45290 -lvY+bytW1WLQ6h3cZqKgIUEXU2tycLITPQDz+Fu45R20a1RT65EWv523mpgzJoOY -61V9aVB1KKfPr4cddMHbq9fYvUKz2KVDTNBVQSYcO2125hv1xpUa1ZbZN15SJazH -JWW9FMTCSgWp6yYTBYKAl8S8WTNBeAKJq1ZVw1q/KhHpj+jqjm7rn6lgIQi9gTES -DNP4j5SBdL0O5HIk5KqW/3uhS0YlL9Yi9Cqxo35RAbMkUMKDdqtlTObU3tH/jtXC -2YPImm4= ------END CERTIFICATE REQUEST----- diff --git a/resources/config/lighttpd/ssl/onap-robot.onap.key b/resources/config/lighttpd/ssl/onap-robot.onap.key deleted file mode 100644 index 7bf9fc0..0000000 --- a/resources/config/lighttpd/ssl/onap-robot.onap.key +++ /dev/null @@ -1,28 +0,0 @@ ------BEGIN PRIVATE KEY----- -MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQC8Sf2J40jDC8mP -g6BlxDouewLlTDViei+NxSaMuDFBpVsNQU/4DNMlw5RGF+6xXD/v++ArSuVcC/0+ -VshmHoY+CWp8Xkvg3m8seIi0dxntEqNUxlXC4MEsL1NmLdxiKVkg7LounwSS2h/Z -GuKYX9JrueVpY6APPNeKcndhwrv+DHT7lhiEhDz3h+g81AyEPLK1Bd4vRJA8AbUL -ZY+Fy0jnhmhKOg0DTwAa+RbfBJCd48IvbsPdhqH1Pj0Hl7M1hlHBzDddshCRK6rJ -pRiRIvRa/XN7clpOyy49DT7XWjygBNkfQFLxVtVpify2/JZB3s49t1fPsJQmySZH -FfPhN3PdAgMBAAECggEAXqbPRm60GCCnzXY8vou7N7xswznhKEUF/L2b2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4J7QDY9d+vOrcbwZyEIt5QdBJesAREAuLf -GsM0FH2qi02kJ679P/fhnbq9B9dPYxpGFV5LlZWN/ulW74fFzIuVB3yPsS3POnm1 -xDhKSqihCH6X84ub/5Qz9boQ ------END PRIVATE KEY----- diff --git a/resources/config/lighttpd/ssl/onap-robot.onap.pem b/resources/config/lighttpd/ssl/onap-robot.onap.pem deleted file mode 100644 index abf8f81..0000000 --- a/resources/config/lighttpd/ssl/onap-robot.onap.pem +++ /dev/null @@ -1,50 +0,0 @@ ------BEGIN PRIVATE KEY----- -MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQC8Sf2J40jDC8mP -g6BlxDouewLlTDViei+NxSaMuDFBpVsNQU/4DNMlw5RGF+6xXD/v++ArSuVcC/0+ -VshmHoY+CWp8Xkvg3m8seIi0dxntEqNUxlXC4MEsL1NmLdxiKVkg7LounwSS2h/Z -GuKYX9JrueVpY6APPNeKcndhwrv+DHT7lhiEhDz3h+g81AyEPLK1Bd4vRJA8AbUL -ZY+Fy0jnhmhKOg0DTwAa+RbfBJCd48IvbsPdhqH1Pj0Hl7M1hlHBzDddshCRK6rJ -pRiRIvRa/XN7clpOyy49DT7XWjygBNkfQFLxVtVpify2/JZB3s49t1fPsJQmySZH -FfPhN3PdAgMBAAECggEAXqbPRm60GCCnzXY8vou7N7xswznhKEUF/L2b2GeLk1V9 -hRdNDQPdbQF5WxcSzaPzHD/A++JllDUOtDTJ/tPfZfYzyptYh40p0/AvwJCSvuN8 -qdQeLp3vXbfYs+ff/pSMkomOOnuDwBLYqbnjKPgafj7v/V+wiZhrPdS3ALT07gsW -MKb4MjAYKwFCbENgMurb4VNL+LgwJFXJNvlRW3r1IO37aXdGiHO5XdrQ6aNDzfmR -ljaAndScwpleRwZorl4Gh0JPn46fpkJPQPNAcejKs1zzxbdjtd/xBS84DuOMryfT -hEfiyU0t5kfir4XufLxtUB9M0FkmpPUQ24Rt5x8/4QKBgQDjYCMbxRNw3o+p1j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