This repository has been archived by the owner on Aug 26, 2021. It is now read-only.
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 #553 from govau/develop
Rever main nav active item to a link
- Loading branch information
Showing
18 changed files
with
335 additions
and
50 deletions.
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
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
--- | ||
nginx: | ||
version: mainline |
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,9 +1,9 @@ | ||
--- | ||
applications: | ||
- name: uikit | ||
buildpack: staticfile_buildpack | ||
buildpack: nginx_buildpack | ||
memory: 64M | ||
instances: 1 | ||
|
||
instances: 2 | ||
path: ./ | ||
routes: | ||
- route: uikit.service.gov.au |
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,9 +1,9 @@ | ||
--- | ||
applications: | ||
- name: uikit | ||
buildpack: staticfile_buildpack | ||
buildpack: nginx_buildpack | ||
memory: 64M | ||
instances: 1 | ||
|
||
path: ./ | ||
routes: | ||
- route: uikit.staging.service.gov.au |
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,6 +1,7 @@ | ||
--- | ||
applications: | ||
- name: uikit | ||
buildpack: staticfile_buildpack | ||
buildpack: nginx_buildpack | ||
memory: 64M | ||
instances: 1 | ||
path: ./ |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
uikit:$apr1$1L7jRN5s$rZ1johNREOkXwc7pGWxZK1 |
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 |
---|---|---|
@@ -0,0 +1,78 @@ | ||
types { | ||
text/html html htm shtml; | ||
text/css css; | ||
text/xml xml; | ||
image/gif gif; | ||
image/jpeg jpeg jpg; | ||
application/x-javascript js; | ||
application/atom+xml atom; | ||
application/rss+xml rss; | ||
font/ttf ttf; | ||
font/woff woff; | ||
font/woff2 woff2; | ||
text/mathml mml; | ||
text/plain txt; | ||
text/vnd.sun.j2me.app-descriptor jad; | ||
text/vnd.wap.wml wml; | ||
text/x-component htc; | ||
text/cache-manifest manifest; | ||
image/png png; | ||
image/tiff tif tiff; | ||
image/vnd.wap.wbmp wbmp; | ||
image/x-icon ico; | ||
image/x-jng jng; | ||
image/x-ms-bmp bmp; | ||
image/svg+xml svg svgz; | ||
image/webp webp; | ||
application/java-archive jar war ear; | ||
application/mac-binhex40 hqx; | ||
application/msword doc; | ||
application/pdf pdf; | ||
application/postscript ps eps ai; | ||
application/rtf rtf; | ||
application/vnd.ms-excel xls; | ||
application/vnd.ms-powerpoint ppt; | ||
application/vnd.wap.wmlc wmlc; | ||
application/vnd.google-earth.kml+xml kml; | ||
application/vnd.google-earth.kmz kmz; | ||
application/x-7z-compressed 7z; | ||
application/x-cocoa cco; | ||
application/x-java-archive-diff jardiff; | ||
application/x-java-jnlp-file jnlp; | ||
application/x-makeself run; | ||
application/x-perl pl pm; | ||
application/x-pilot prc pdb; | ||
application/x-rar-compressed rar; | ||
application/x-redhat-package-manager rpm; | ||
application/x-sea sea; | ||
application/x-shockwave-flash swf; | ||
application/x-stuffit sit; | ||
application/x-tcl tcl tk; | ||
application/x-x509-ca-cert der pem crt; | ||
application/x-xpinstall xpi; | ||
application/xhtml+xml xhtml; | ||
application/zip zip; | ||
application/octet-stream bin exe dll; | ||
application/octet-stream deb; | ||
application/octet-stream dmg; | ||
application/octet-stream eot; | ||
application/octet-stream iso img; | ||
application/octet-stream msi msp msm; | ||
application/json json; | ||
audio/midi mid midi kar; | ||
audio/mpeg mp3; | ||
audio/ogg ogg; | ||
audio/x-m4a m4a; | ||
audio/x-realaudio ra; | ||
video/3gpp 3gpp 3gp; | ||
video/mp4 mp4; | ||
video/mpeg mpeg mpg; | ||
video/quicktime mov; | ||
video/webm webm; | ||
video/x-flv flv; | ||
video/x-m4v m4v; | ||
video/x-mng mng; | ||
video/x-ms-asf asx asf; | ||
video/x-ms-wmv wmv; | ||
video/x-msvideo avi; | ||
} |
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 |
---|---|---|
@@ -0,0 +1,47 @@ | ||
|
||
worker_processes 1; | ||
daemon off; | ||
|
||
error_log stderr; | ||
events { worker_connections 1024; } | ||
|
||
http { | ||
charset utf-8; | ||
log_format cloudfoundry '$http_x_forwarded_for - $http_referer - [$time_local] "$request" $status $body_bytes_sent'; | ||
access_log /dev/stdout cloudfoundry; | ||
default_type application/octet-stream; | ||
include mime.types; | ||
sendfile on; | ||
|
||
gzip on; | ||
gzip_disable "msie6"; | ||
gzip_comp_level 6; | ||
gzip_min_length 1100; | ||
gzip_buffers 16 8k; | ||
gzip_proxied any; | ||
gunzip on; | ||
gzip_static always; | ||
gzip_types text/plain text/css text/js text/xml text/javascript application/javascript application/x-javascript application/json application/xml application/xml+rss; | ||
|
||
tcp_nopush on; | ||
keepalive_timeout 30; | ||
port_in_redirect off; # Ensure that redirects don't include the internal container PORT - <%= ENV["PORT"] %> | ||
server_tokens off; | ||
|
||
server { | ||
# Required for nginx-buildpack, interpolates value of $PORT. | ||
listen {{port}}; | ||
|
||
server_name designsystem.gov.au | ||
|
||
add_header X-Frame-Options "SAMEORIGIN"; | ||
|
||
# adding some custom rules to strip out the html extension | ||
index index.html; | ||
|
||
location / { | ||
root ./; | ||
try_files $uri $uri.html $uri/ $uri/index.html =404; | ||
} | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,54 @@ | ||
worker_processes 1; | ||
daemon off; | ||
|
||
error_log stderr; | ||
events { worker_connections 1024; } | ||
|
||
http { | ||
charset utf-8; | ||
log_format cloudfoundry '$http_x_forwarded_for - $http_referer - [$time_local] "$request" $status $body_bytes_sent'; | ||
access_log /dev/stdout cloudfoundry; | ||
default_type application/octet-stream; | ||
include mime.types; | ||
sendfile on; | ||
|
||
gzip on; | ||
gzip_disable "msie6"; | ||
gzip_comp_level 6; | ||
gzip_min_length 1100; | ||
gzip_buffers 16 8k; | ||
gzip_proxied any; | ||
gunzip on; | ||
gzip_static always; | ||
gzip_types text/plain text/css text/js text/xml text/javascript application/javascript application/x-javascript application/json application/xml application/xml+rss; | ||
|
||
tcp_nopush on; | ||
keepalive_timeout 30; | ||
port_in_redirect off; # Ensure that redirects don't include the internal container PORT - <%= ENV["PORT"] %> | ||
server_tokens off; | ||
|
||
server { | ||
# Required for nginx-buildpack, interpolates value of $PORT. | ||
listen {{port}}; | ||
|
||
server_name uikit.staging.service.gov.au; | ||
|
||
add_header X-Frame-Options "SAMEORIGIN"; | ||
|
||
auth_basic "Restricted"; | ||
auth_basic_user_file .htpasswd; | ||
|
||
# adding some custom rules to strip out the html extension | ||
index index.html; | ||
|
||
location / { | ||
root ./; | ||
try_files $uri $uri.html $uri/ $uri/index.html =404; | ||
} | ||
|
||
location /robots.txt { | ||
add_header Content-Type text/plain; | ||
return 200 "User-agent: *\nDisallow: *"; | ||
} | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,54 @@ | ||
worker_processes 1; | ||
daemon off; | ||
|
||
error_log stderr; | ||
events { worker_connections 1024; } | ||
|
||
http { | ||
charset utf-8; | ||
log_format cloudfoundry '$http_x_forwarded_for - $http_referer - [$time_local] "$request" $status $body_bytes_sent'; | ||
access_log /dev/stdout cloudfoundry; | ||
default_type application/octet-stream; | ||
include mime.types; | ||
sendfile on; | ||
|
||
gzip on; | ||
gzip_disable "msie6"; | ||
gzip_comp_level 6; | ||
gzip_min_length 1100; | ||
gzip_buffers 16 8k; | ||
gzip_proxied any; | ||
gunzip on; | ||
gzip_static always; | ||
gzip_types text/plain text/css text/js text/xml text/javascript application/javascript application/x-javascript application/json application/xml application/xml+rss; | ||
|
||
tcp_nopush on; | ||
keepalive_timeout 30; | ||
port_in_redirect off; # Ensure that redirects don't include the internal container PORT - <%= ENV["PORT"] %> | ||
server_tokens off; | ||
|
||
server { | ||
# Required for nginx-buildpack, interpolates value of $PORT. | ||
listen {{port}}; | ||
|
||
server_name localhost; | ||
|
||
add_header X-Frame-Options "SAMEORIGIN"; | ||
|
||
auth_basic "Restricted"; | ||
auth_basic_user_file .htpasswd; | ||
|
||
# adding some custom rules to strip out the html extension | ||
index index.html; | ||
|
||
location / { | ||
root ./; | ||
try_files $uri $uri.html $uri/ $uri/index.html =404; | ||
} | ||
|
||
location /robots.txt { | ||
add_header Content-Type text/plain; | ||
return 200 "User-agent: *\nDisallow: *"; | ||
} | ||
} | ||
} |
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
Oops, something went wrong.