GithubHelp home page GithubHelp logo

Installation Steps Questions about voten HOT 6 CLOSED

vg-github avatar vg-github commented on June 1, 2024
Installation Steps Questions

from voten.

Comments (6)

BoKKeR avatar BoKKeR commented on June 1, 2024 1

try this:

try_files $uri $uri/ /index.php?$args;

from voten.

saleh-old avatar saleh-old commented on June 1, 2024

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.

vg-github avatar vg-github commented on June 1, 2024

OK, I understand. The other addresses don't work, e.g. /login/google, do I need to setup anything in nginx?

from voten.

BoKKeR avatar BoKKeR commented on June 1, 2024

What is the error you are getting? redirect has to be enabled in nginx for routes

from voten.

vg-github avatar vg-github commented on June 1, 2024

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.

vg-github avatar vg-github commented on June 1, 2024

that worked. Many thanks!

from voten.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.