Skip to content

Commit

Permalink
move files
Browse files Browse the repository at this point in the history
  • Loading branch information
Zoey2936 committed May 31, 2024
1 parent 6041cbf commit ec5327f
Show file tree
Hide file tree
Showing 13 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/spellcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ jobs:
with:
check_filenames: true
check_hidden: true
skip: .git,.gitignore,./rootfs/nftd,./src/vendor
skip: .git,.gitignore,./rootfs/app/nftd,./src/vendor
6 changes: 3 additions & 3 deletions .github/workflows/update-and-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ jobs:
cd src
- name: update
run: |
curl -L https://unpkg.com/xregexp/xregexp-all.js -o rootfs/nftd/xregexp-all.js
curl -L https://unpkg.com/showdown/dist/showdown.min.js -o rootfs/nftd/showdown.min.js
curl -L https://code.jquery.com/jquery-"$(git ls-remote --tags https://github.com/jquery/jquery | cut -d/ -f3 | sort -V | tail -1)".min.js -o rootfs/nftd/jquery.min.js
curl -L https://unpkg.com/xregexp/xregexp-all.js -o rootfs/app/nftd/xregexp-all.js
curl -L https://unpkg.com/showdown/dist/showdown.min.js -o rootfs/app/nftd/showdown.min.js
curl -L https://code.jquery.com/jquery-"$(git ls-remote --tags https://github.com/jquery/jquery | cut -d/ -f3 | sort -V | tail -1)".min.js -o rootfs/app/nftd/jquery.min.js
- name: nginxbeautifier
run: |
yarn global add nginxbeautifier
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
10 changes: 5 additions & 5 deletions rootfs/usr/local/nginx/conf/conf.d/include/acme-challenge.conf
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
location = /.well-known/acme-challenge/ {
return 404;
}

location /.well-known/acme-challenge/ {
auth_basic off;
auth_request off;
allow all;
root /tmp/acme-challenge;
}

location = /.well-known/acme-challenge/ {
return 404;
}

location = /nftd {
return 301 /nftd/;
}

location /nftd/ {
alias /nftd/;
alias /app/nftd/;
}

location ~ /\.ht {
Expand Down
3 changes: 2 additions & 1 deletion rootfs/usr/local/nginx/conf/conf.d/npmplus.conf
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@ server {

location / {
alias /app/src/public/;
index index.php index.html;

location ~ [^/]\.php(/|$) {
fastcgi_pass php;
fastcgi_pass npmplus;
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
if (!-f $document_root$fastcgi_script_name) {
return 404;
Expand Down
2 changes: 1 addition & 1 deletion rootfs/usr/local/nginx/conf/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ http {
server unix:/run/php83.sock;
}

upstream php {
upstream npmplus {
server unix:/run/php.sock;
}

Expand Down
1 change: 0 additions & 1 deletion src/public/auth/login/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
} else {
session_unset();
?>

<!DOCTYPE html>
<html lang="en">
<head>
Expand Down

0 comments on commit ec5327f

Please sign in to comment.