Skip to content

Commit

Permalink
fixed tailwind css issue
Browse files Browse the repository at this point in the history
  • Loading branch information
opeoniye committed Sep 24, 2023
1 parent b4c9b83 commit 8a52839
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 88 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# waran waran files
**/.DS_Store
setup
dclm-dtc
ops/.env.dev
ops/.env.prod
src/.env
src/docker-compose.yml
**/.DS_Store

# folders
_
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ FROM opeoniye/nginx
WORKDIR /var/www

# copy code
COPY ./ops/docker/nginx/dtc.conf /etc/nginx/conf.d/default.conf
COPY --chown=www:www-data ./src /var/www
70 changes: 0 additions & 70 deletions dclm-dtc

This file was deleted.

3 changes: 1 addition & 2 deletions docker-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ services:
networks:
- bams
volumes:
- .:/var/www
- ../ops/docker/nginx/dtc.conf:/etc/nginx/conf.d/default.conf
#- .:/var/www
- ~/dev/keys/mac/bams.pem:/var/ssl/cert.pem
- ~/dev/keys/mac/bams-key.pem:/var/ssl/key.pem

Expand Down
1 change: 0 additions & 1 deletion docker-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ services:
networks:
- dclm
volumes:
- ../ops/docker/nginx/dtc.conf:/etc/nginx/conf.d/default.conf
- /etc/letsencrypt/live/dclm.org/fullchain.pem:/var/ssl/cert.pem
- /etc/letsencrypt/live/dclm.org/privkey.pem:/var/ssl/key.pem

Expand Down
13 changes: 1 addition & 12 deletions ops/docker/nginx/dtc.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# testimony-app
# dtc-app
server {
listen 443 ssl;
listen [::]:443 ssl;
Expand All @@ -17,17 +17,6 @@ server {
gzip_static on;
}

location ~ \.php$ {
try_files $uri =404;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_buffering off;
}

### Don't edit past here
include /etc/nginx/snippets/site_optimization.conf;
include /etc/nginx/snippets/exploit_protection.conf;
Expand Down
1 change: 1 addition & 0 deletions src/assets/css/tailwind.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<meta name="author" content="DCLM " />
<link rel="apple-touch-icon" sizes="76x76" href="assets/img/favicon.png">
<link rel="shortcut icon" type="image/png" href="assets/img/favicon.png">
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/tailwind.min.css"/>
<link rel="stylesheet" href="assets/css/tailwind.min.css"/>
<!--Replace with your tailwind.css once created-->
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,700" rel="stylesheet" />
<!-- Define your gradient here - use online tools to find a gradient matching your branding-->
Expand Down

0 comments on commit 8a52839

Please sign in to comment.