Skip to content

Commit

Permalink
Merge branch 'appscan-20220629-hotfix' into live
Browse files Browse the repository at this point in the history
  • Loading branch information
gustavderdrache committed Jul 26, 2022
2 parents d146344 + 3e75583 commit 2869695
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion services/drupal/.ddev/nginx_full/maps/redirect_301.map
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ map $request_uri $new_uri_301 {
~*^\/airtrends(\/|$).* /air-trends;
~*^\/ampd(\/|$).* https://ampd.epa.gov/ampd;
~*^\/approved-sips(\/|$).* /air-quality-implementation-plans;
~*^\/apti(\/|$).* https://www.apti-learn.net/LMS/EPAHomePage.aspx;
~*^\/aqi(\/|$).* https://www.airnow.gov/;
~*^\/arweb(\/|$).* https://semspub.epa.gov;
~*^\/beachkids(\/|$).* /beaches;
Expand Down
2 changes: 1 addition & 1 deletion services/drupal/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ RUN chmod +x /webcms-entrypoint
# Replace the default crontab with one that runs Drush every five minutes. By
# default, cron is not run (since there is no systemd equivalent in containers),
# but we use this in the Drush ECS service definition.
RUN echo '*/5 * * * * drush cron 2>&1' | crontab -
RUN echo '*/5 * * * * drush cron --uri="${WEBCMS_SITE_URL}" 2>&1' | crontab -

# Wrap the entrypoint script with tini to allow graceful signal handling
ENTRYPOINT ["tini", "--", "/webcms-entrypoint"]
1 change: 0 additions & 1 deletion services/drupal/redirect_301.map
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ map $request_uri $new_uri_301 {
~*^\/airtrends(\/|$).* /air-trends;
~*^\/ampd(\/|$).* https://ampd.epa.gov/ampd;
~*^\/approved-sips(\/|$).* /air-quality-implementation-plans;
~*^\/apti(\/|$).* https://www.apti-learn.net/LMS/EPAHomePage.aspx;
~*^\/aqi(\/|$).* https://www.airnow.gov/;
~*^\/arweb(\/|$).* https://semspub.epa.gov;
~*^\/beachkids(\/|$).* /beaches;
Expand Down
1 change: 0 additions & 1 deletion services/drupal/redirect_302.map
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@ map $request_uri $new_uri_302 {

# entries of form:
#/old-url /new-url;
/test-302 http://www.google.com;
}

0 comments on commit 2869695

Please sign in to comment.