Comments (6)
try this:
try_files $uri $uri/ /index.php?$args;
from voten.
You'll need ECHO
if you're using laravel-echo to get the real-time stuff working. I suggest using Pusher instead. (if you don't know any of the names above just google them)
DO_SPACES
is no longer supported. I should've deleted them.
You need FTP to get the file uploading working. FTP is the driver used on Voten for storage.
When I navigate to /backend, I get 404 from nginx, what could be the problem? I see a .htaccess file in the public/ folder, but that doesn't seem to apply for nginx.
Forget the .htaccess file. Do the other addresses work?
from voten.
OK, I understand. The other addresses don't work, e.g. /login/google
, do I need to setup anything in nginx?
from voten.
What is the error you are getting? redirect has to be enabled in nginx for routes
from voten.
I am getting 404 Not Found
. My nginx config file looks like this:
server {
root /var/www/html/public;
index index.php index.html index.htm index.nginx-debian.html;
server_name hidden.com www.hidden.com;
location / {
# First attempt to serve request as file, then
# as directory, then fall back to displaying a 404.
try_files $uri $uri/ =404;
}
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/run/php/php7.1-fpm.sock;
}
location ~ /\.ht {
deny all;
}
... SSL Configuration Here...
}
The landing page works fine, and navigating to Terms and Conditions or Privacy Policy works OK. I think only the dynamic links are not working, such as /backend
and /login/google
from voten.
that worked. Many thanks!
from voten.
Related Issues (20)
- Login request fails HOT 1
- Login/Signup with Google doesn't work
- The request has not been applied because it lacks valid authentication credentials for the target resource. HOT 1
- Notifications dont work
- Button "down-vote" HOT 1
- Don't work load avatar and any file HOT 2
- Notification have error (Pusher) HOT 3
- Notification and Message (0)
- Change title
- Voten.co is down for few days now. I wanted to check it out, but it seems to be always dead with cloudflare saying server is down. HOT 2
- Federation/ActivityPub support
- Data output from MYSQL to template HOT 2
- Abandoned? HOT 2
- Website is OFF! HOT 1
- Show channel for guest
- Img submission in home page and full submission
- Guest API get error 401 when trying to go to the user's page, submission, channel
- Site down! HOT 2
- translation for persian farsi language HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from voten.