Commit e245c8e1 authored by nimrod's avatar nimrod
Browse files

Web proxy: Add ns4.

parent e7670f43
Loading
Loading
Loading
Loading
Loading
+29 −7
Original line number Diff line number Diff line
@@ -36,19 +36,19 @@ web-proxy kodi build:
  tags: ["kodi.shore.co.il"]
  variables:
    WORKDIR: Compose/web-proxy/kodi
  # rules: &compose-rules
  #   - if: $CI_PIPELINE_SOURCE == "schedule"
  #   - if: $CI_PIPELINE_SOURCE == "push"
  #     changes:
  #       - $WORKDIR/*
  #       - $WORKDIR/**/*
  rules: &compose-rules
    - if: $CI_PIPELINE_SOURCE == "schedule"
    - if: $CI_PIPELINE_SOURCE == "push"
      changes:
        - $WORKDIR/*
        - $WORKDIR/**/*

web-proxy kodi pull:
  extends: .compose-pull
  tags: ["kodi.shore.co.il"]
  variables:
    WORKDIR: Compose/web-proxy/kodi
  # rules: *compose-rules
  rules: *compose-rules

web-proxy kodi run:
  extends: .compose-run
@@ -56,4 +56,26 @@ web-proxy kodi run:
  variables:
    WORKDIR: Compose/web-proxy/kodi
  when: manual
  rules: *compose-rules

web-proxy ns4 build:
  extends: .compose-build
  tags: ["ns4.shore.co.il"]
  variables:
    WORKDIR: Compose/web-proxy/ns4
  # rules: *compose-rules

web-proxy ns4 pull:
  extends: .compose-pull
  tags: ["ns4.shore.co.il"]
  variables:
    WORKDIR: Compose/web-proxy/ns4
  # rules: *compose-rules

web-proxy ns4 run:
  extends: .compose-run
  tags: ["ns4.shore.co.il"]
  variables:
    WORKDIR: Compose/web-proxy/ns4
  when: manual
  # rules: *compose-rules
+4 −0
Original line number Diff line number Diff line
*
!conf.d/
!www/
!snippets/
+1 −0
Original line number Diff line number Diff line
COMPOSE_PROJECT_NAME=web-proxy
+6 −0
Original line number Diff line number Diff line
# hadolint ignore=DL3006
FROM registry.shore.co.il/nginx
COPY --chown=root:root www/ /var/www/
COPY --chown=root:root conf.d/ /etc/nginx/conf.d/
COPY --chown=root:root snippets/ /etc/nginx/snippets/
RUN nginx -t
+22 −0
Original line number Diff line number Diff line
# vim: ft=nginx
server {
    listen      80;
    listen      [::]:80;
    server_name autoconfig.shore.co.il autoconfig.nehe.sr;
    root        /var/www/autoconfig.shore.co.il/;
    include     snippets/www-acme-challenge.conf;
    include     snippets/ads-txt.conf;
    include     snippets/security-txt.conf;
    include     snippets/robots-allow-all.conf;
}

server {
    listen      443 ssl http2;
    listen      [::]:443 ssl http2;
    server_name autoconfig.shore.co.il autoconfig.nehe.sr;
    root        /var/www/autoconfig.shore.co.il/;
    include     snippets/robots-allow-all.conf;
    include     snippets/ads-txt.conf;
    include     snippets/security-txt.conf;
    include     snippets/ssl-legacy.conf;
}
Loading