-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #84 from wguanicedew/dev
Dev
- Loading branch information
Showing
4 changed files
with
66 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,6 +11,9 @@ | |
|
||
FROM docker.io/centos:7 | ||
|
||
ENV LANG en_US.UTF-8 | ||
ENV LC_ALL en_US.UTF-8 | ||
|
||
ARG TAG | ||
|
||
WORKDIR /tmp | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,6 +39,7 @@ WSGIPythonPath /opt/idds/lib/python3.9/site-packages | |
</IfModule> | ||
|
||
Listen 8443 | ||
Listen 8080 | ||
|
||
RewriteEngine on | ||
RewriteCond %REQUEST_METHOD ^(TRACE|TRACK) | ||
|
@@ -82,12 +83,67 @@ Alias "/monitor" "/opt/idds/monitor/data" | |
</LocationMatch> | ||
|
||
<LocationMatch "^/idds"> | ||
GridSiteIndexes on | ||
# GridSiteAuth on | ||
GridSiteDNlists /etc/grid-security/dn-lists/ | ||
GridSiteGSIProxyLimit 16 | ||
GridSiteEnvs on | ||
GridSiteACLPath /opt/idds/etc/idds/rest/gacl | ||
# GridSiteMethods GET | ||
</LocationMatch> | ||
|
||
<Directory /opt/idds/lib/python3.9/site-packages> | ||
# Order deny,allow | ||
# Allow from all | ||
# Require all granted | ||
</Directory> | ||
|
||
<Directory /opt/idds/bin> | ||
Order deny,allow | ||
Allow from all | ||
Require all granted | ||
</Directory> | ||
|
||
<Directory /opt/idds/website/data> | ||
Order deny,allow | ||
Allow from all | ||
Require all granted | ||
</Directory> | ||
|
||
<Directory /opt/idds/monitor/data> | ||
Order deny,allow | ||
Allow from all | ||
Require all granted | ||
DirectoryIndex dashboard.html | ||
DirectoryIndex index.html | ||
</Directory> | ||
</VirtualHost> | ||
|
||
<VirtualHost *:8080> | ||
# ServerName aipanda182.cern.ch:8080 | ||
ServerAdmin [email protected] | ||
|
||
LogLevel debug | ||
ErrorLog /var/log/idds/httpd_error_log | ||
TransferLog /var/log/idds/httpd_access_log | ||
|
||
# Proxy authentication via mod_gridsite | ||
<LocationMatch /auth/x509_proxy> | ||
GridSiteIndexes on | ||
GridSiteAuth on | ||
GridSiteDNlists /etc/grid-security/dn-lists/ | ||
GridSiteGSIProxyLimit 16 | ||
GridSiteEnvs on | ||
GridSiteACLPath /opt/idds/etc/idds/rest/gacl | ||
</LocationMatch> | ||
|
||
<LocationMatch "^/idds"> | ||
GridSiteIndexes on | ||
# GridSiteAuth on | ||
GridSiteDNlists /etc/grid-security/dn-lists/ | ||
GridSiteGSIProxyLimit 16 | ||
GridSiteEnvs on | ||
GridSiteACLPath /opt/idds/etc/idds/rest/gacl | ||
# GridSiteMethods GET | ||
</LocationMatch> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
$'#!/bin/bash | ||
#!/bin/bash | ||
set -m | ||
for package in common main client workflow doma atlas website monitor ; | ||
do | ||
|