Giter VIP home page Giter VIP logo

Comments (8)

ucan-lab avatar ucan-lab commented on August 24, 2024

おや...? おかしいですね🤔
@ueda222koban ご報告ありがとうございます🥰 確認してみます!

一応公式設定のままのはずなんですけどね...
https://readouble.com/laravel/7.x/ja/deployment.html

from docker-laravel.

ucan-lab avatar ucan-lab commented on August 24, 2024

@ueda222koban ちなみにどういったクエリパラメータ送ったのか教えてもらえると助かります!

from docker-laravel.

ucan-lab avatar ucan-lab commented on August 24, 2024

@ueda222koban 簡単に下記のコードを仕込んで見たんですけど、クエリパラメータ取得できました...

Route::get('/', function (Request $request) {
    dump($request->all());

    return view('welcome');
});

http://127.0.0.1/?foo=bar

スクリーンショット 2020-05-14 0 05 09

from docker-laravel.

ueda222koban avatar ueda222koban commented on August 24, 2024

あれれ。

ちなみにどういったクエリパラメータ送ったのか教えてもらえると助かります!

普通に ?page=1 とかだったんですけどね。。。

あまり詳しくないので申し訳ないでのすが
https://github.com/ucan-lab/docker-laravel/blob/master/infrastructure/docker/nginx/default.conf#L13
↑ここの箇所で
try_files $uri $uri/ /index.php ? $query_string;
? がないのが原因と思ったんですが。。

ちなみに webpack-devserver からRESTでAPI叩いていました

from docker-laravel.

ucan-lab avatar ucan-lab commented on August 24, 2024

あまり関係ない気がしてます...!
nginx の access.log にどんな値が入ってきているのか知りたいですね。
ちゃんとリクエストを送れてなかったとかあるかもです。

あと問題を再現させる簡単な手順やコードを共有してもらえたらありがたいです🙏

from docker-laravel.

ueda222koban avatar ueda222koban commented on August 24, 2024

@ucan-lab
�失礼しました。。先ほど確認したら、うまく取得できました。。
うまくリクエストできてなかったかもしれません。お騒がせしました。

from docker-laravel.

ucan-lab avatar ucan-lab commented on August 24, 2024

@ueda222koban ご報告ありがとうございます!
解決できたようですので、こちらのイシューはクローズしちゃいます!

from docker-laravel.

ucan-lab avatar ucan-lab commented on August 24, 2024

@ueda222koban すみません...色々やってたら再現しました。
よくよくみたら公式 ? 付いてましたね... 公式に合わせたいと思います。

from docker-laravel.

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.